profile/ivi/evas.git
12 years agoadd recursive name fund func evas_object_name_child_find()
raster [Wed, 28 Dec 2011 05:07:31 +0000 (05:07 +0000)]
add recursive name fund func evas_object_name_child_find()

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

12 years agofix some formatting i spotted.
raster [Tue, 27 Dec 2011 12:03:03 +0000 (12:03 +0000)]
fix some formatting i spotted.

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

12 years agoadd feature to help fix bug in ecore-evas
raster [Tue, 27 Dec 2011 12:01:17 +0000 (12:01 +0000)]
add feature to help fix bug in ecore-evas

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

12 years agoEvas: Add missing evas-wayland-egl.pc file. Thanks for the report Seoz
devilhorns [Tue, 27 Dec 2011 00:45:52 +0000 (00:45 +0000)]
Evas: Add missing evas-wayland-egl.pc file. Thanks for the report Seoz
:)

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

12 years agoEvas: Update news file.
devilhorns [Mon, 26 Dec 2011 23:43:42 +0000 (23:43 +0000)]
Evas: Update news file.

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

12 years agoEvas: Update ChangeLog.
devilhorns [Mon, 26 Dec 2011 23:42:33 +0000 (23:42 +0000)]
Evas: Update ChangeLog.

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

12 years agoEvas: Add 'since' on new functions.
devilhorns [Mon, 26 Dec 2011 23:41:24 +0000 (23:41 +0000)]
Evas: Add 'since' on new functions.

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

12 years agoEvas: Add Wayland EGL engine (still experimental).
devilhorns [Mon, 26 Dec 2011 23:13:52 +0000 (23:13 +0000)]
Evas: Add Wayland EGL engine (still experimental).

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

12 years agoEvas (Wayland Shm Engine): Cleanup of commented out code. Fix
devilhorns [Mon, 26 Dec 2011 23:12:50 +0000 (23:12 +0000)]
Evas (Wayland Shm Engine): Cleanup of commented out code. Fix
calculation of update region.

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

12 years agoEvas (Wayland_Shm Engine): Check for valid RGBA_Image before trying to
devilhorns [Mon, 26 Dec 2011 23:12:05 +0000 (23:12 +0000)]
Evas (Wayland_Shm Engine): Check for valid RGBA_Image before trying to
use it. Use correct stride calculation for bytes.

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

12 years agoEvas: Default framespace to zero on new canvas creation.
devilhorns [Mon, 26 Dec 2011 23:11:07 +0000 (23:11 +0000)]
Evas: Default framespace to zero on new canvas creation.
Some cleanup of commented out code.
Fix some formatting.

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

12 years agoEvas: Fix calculations for framespce when changed.
devilhorns [Mon, 26 Dec 2011 23:10:27 +0000 (23:10 +0000)]
Evas: Fix calculations for framespce when changed.

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

12 years agoEvas: Default 'is_frame' to false for new objects.
devilhorns [Mon, 26 Dec 2011 23:09:45 +0000 (23:09 +0000)]
Evas: Default 'is_frame' to false for new objects.
Handle 'moving' nad 'resizing' of objects if they are not 'frame objects'
Add code for frame_object_get/set functions.
Fix some formatting.

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

12 years agoEvas: Add functions to get/set if an object is a 'frame object'.
devilhorns [Mon, 26 Dec 2011 23:08:17 +0000 (23:08 +0000)]
Evas: Add functions to get/set if an object is a 'frame object'.

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

12 years agoEvas: Add 'is_frame' property for objects (used in wayland engines).
devilhorns [Mon, 26 Dec 2011 23:07:52 +0000 (23:07 +0000)]
Evas: Add 'is_frame' property for objects (used in wayland engines).

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

12 years agoevas: check the availability of the generic loader before execing it.
cedric [Mon, 26 Dec 2011 15:23:30 +0000 (15:23 +0000)]
evas: check the availability of the generic loader before execing it.

Patch requested by Guillaume Friloux.

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

12 years agoshit - seb - u're right! typo. :)
raster [Sat, 24 Dec 2011 02:42:27 +0000 (02:42 +0000)]
shit - seb - u're right! typo. :)

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

12 years agoevas: forget to overide this in gl, fix evas_object_image_region_support_get
yoz [Fri, 23 Dec 2011 12:00:52 +0000 (12:00 +0000)]
evas: forget to overide this in gl, fix evas_object_image_region_support_get

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

12 years agoactually no chglog - that was a bug aded to ico loader during 1.1 by
raster [Fri, 23 Dec 2011 12:00:31 +0000 (12:00 +0000)]
actually no chglog - that was a bug aded to ico loader during 1.1 by
someone who moved to eina_file too...

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

12 years agoFrom: Sanghee Park <sh15.park@samsung.com>
raster [Fri, 23 Dec 2011 11:50:29 +0000 (11:50 +0000)]
From: Sanghee Park <sh15.park@samsung.com>
Subject: Drawing objects by pixman

        * Extend pixman support to allow other operations to use
          pixman when doing software rendering. On x86 this isn't useful
          but on ARMv7 with NEON pixman happens to do better with image
          blending and nearest scale blending.
        * Add tiled rotator for 32bit display as an option.

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

12 years agofix ico loader bug.
raster [Fri, 23 Dec 2011 11:31:33 +0000 (11:31 +0000)]
fix ico loader bug.

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

12 years agoevas - one more line duplicated.
hermet [Fri, 23 Dec 2011 02:24:19 +0000 (02:24 +0000)]
evas - one more line duplicated.

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

12 years agoevas - removed duplicated lines
hermet [Fri, 23 Dec 2011 02:20:56 +0000 (02:20 +0000)]
evas - removed duplicated lines

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

12 years agoevas: now that we use eina_lock, we don't need this #ifdef.
cedric [Thu, 22 Dec 2011 16:54:44 +0000 (16:54 +0000)]
evas: now that we use eina_lock, we don't need this #ifdef.

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

12 years agofix textblock parsing of tags with stupid trailing spaces like <br /> which people...
discomfitor [Thu, 22 Dec 2011 03:32:23 +0000 (03:32 +0000)]
fix textblock parsing of tags with stupid trailing spaces like <br /> which people use for some stupid reason

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

12 years agoevas/evas_events - repeat events should not be affected by children.
hermet [Wed, 21 Dec 2011 07:55:22 +0000 (07:55 +0000)]
evas/evas_events - repeat events should not be affected by children.

Fixed to object passes events to the next object in the same layer if the repeat_events is enabled

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

12 years agoevas - proper coding convention.
hermet [Tue, 20 Dec 2011 07:06:53 +0000 (07:06 +0000)]
evas - proper coding convention.

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

12 years agomissing chlog for sse3 fix.
raster [Tue, 20 Dec 2011 04:44:28 +0000 (04:44 +0000)]
missing chlog for sse3 fix.

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

12 years agomissing chlog for clip fix.
raster [Tue, 20 Dec 2011 04:42:54 +0000 (04:42 +0000)]
missing chlog for clip fix.

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

12 years agoadd @since on single liners.
raster [Mon, 19 Dec 2011 07:26:34 +0000 (07:26 +0000)]
add @since on single liners.

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

12 years agoadd new events for pre/post rendering
raster [Mon, 19 Dec 2011 05:50:06 +0000 (05:50 +0000)]
add new events for pre/post rendering

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

12 years agoand remove changelog accordingly.
raster [Sun, 18 Dec 2011 05:04:33 +0000 (05:04 +0000)]
and remove changelog accordingly.

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

12 years agosorry sungwoo - going to have to back this dlopen/dlsym styuff out.
raster [Sun, 18 Dec 2011 05:03:24 +0000 (05:03 +0000)]
sorry sungwoo - going to have to back this dlopen/dlsym styuff out.
intel drivers don;'t like it for some odd reason - i'm trying to track
it down but i can't sanely try middlegrounds right now (eg dont
dlopen/dlsym but actually directly assign symbols etc.), so back out
and let's figure this out before it goes back in :(

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

12 years agoEvas: Handle framespace changes also during 'render'.
devilhorns [Sat, 17 Dec 2011 18:45:09 +0000 (18:45 +0000)]
Evas: Handle framespace changes also during 'render'.

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

12 years agoAdd new api to set and get default event flags.
raster [Fri, 16 Dec 2011 09:24:18 +0000 (09:24 +0000)]
Add new api to set and get default event flags.

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

12 years agofix buggy sse3 solid color + text bak blend when dest alpha exists.
raster [Fri, 16 Dec 2011 07:47:07 +0000 (07:47 +0000)]
fix buggy sse3 solid color + text bak blend when dest alpha exists.

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

12 years agoevas/main - removed unnecessary casting.
hermet [Fri, 16 Dec 2011 07:22:09 +0000 (07:22 +0000)]
evas/main - removed unnecessary casting.

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

12 years agouseless clip setting in ctx as it's reset a few lines later.
raster [Fri, 16 Dec 2011 07:20:12 +0000 (07:20 +0000)]
useless clip setting in ctx as it's reset a few lines later.

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

12 years agofix map clip issue that shows up in buffer engine.
raster [Fri, 16 Dec 2011 07:04:00 +0000 (07:04 +0000)]
fix map clip issue that shows up in buffer engine.

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

12 years agoEvas liblineabreak: Include the wordbreak headers.
tasn [Thu, 15 Dec 2011 22:27:59 +0000 (22:27 +0000)]
Evas liblineabreak: Include the wordbreak headers.

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

12 years agoEvas textblock: Use macros for the unicode chars/strings.
tasn [Thu, 15 Dec 2011 13:03:43 +0000 (13:03 +0000)]
Evas textblock: Use macros for the unicode chars/strings.

1. Make Obj replacement and Par Sep less confusing.
2. We'll may, at some point, use the Unicode NewLine char instead of \n.
so it's now easily replaceable.

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

12 years agoEvas textblock: Improved the implementation of *_text_markup_to_utf8.
tasn [Thu, 15 Dec 2011 12:40:29 +0000 (12:40 +0000)]
Evas textblock: Improved the implementation of *_text_markup_to_utf8.

Also support passing NULL instead of a real textblock object.
Added appropriate tests + improved previous tests.

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

12 years agoevas - simplified instructions
hermet [Thu, 15 Dec 2011 09:56:25 +0000 (09:56 +0000)]
evas - simplified instructions

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

12 years agoevas - removed unnecessary comments
hermet [Thu, 15 Dec 2011 09:40:07 +0000 (09:40 +0000)]
evas - removed unnecessary comments

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

12 years agoevas - use EINA_TRUE/FALSE
hermet [Thu, 15 Dec 2011 09:36:51 +0000 (09:36 +0000)]
evas - use EINA_TRUE/FALSE

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

12 years agobug fix related with evas event counter
jypark [Thu, 15 Dec 2011 06:23:53 +0000 (06:23 +0000)]
bug fix related with evas event counter

currently evas_object_event_callback_call checks _evas_event_counter
for preventing object's callback called several times in one evas event.

but it use global variable(_evas_event_counter), it can be changed while
procssing same event.

for example , evas_event_feed_mouse_up.
If there are several object in e->pointer.object.in and object 1's callback
create new evas event, object 2 cannot now event id.
so I change callback call api, and object callbacks can decide wheather it deal with that event.

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

12 years agoremove white space
jypark [Thu, 15 Dec 2011 05:56:19 +0000 (05:56 +0000)]
remove white space

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

12 years agoremove white space
jypark [Thu, 15 Dec 2011 05:25:37 +0000 (05:25 +0000)]
remove white space

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

12 years agoEvas: Gl_X11: Fix typo? for __UNUSED__ param.
devilhorns [Wed, 14 Dec 2011 18:52:42 +0000 (18:52 +0000)]
Evas: Gl_X11: Fix typo? for __UNUSED__ param.

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

12 years agoEvas: Add a Wayland Shared Memory engine (similar to the buffer &
devilhorns [Wed, 14 Dec 2011 18:44:20 +0000 (18:44 +0000)]
Evas: Add a Wayland Shared Memory engine (similar to the buffer &
framebuffer engines). Add Evas framespace set/get functions.

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

12 years agoEvas: Software_Generic: Fix typo? for __UNUSED__.
devilhorns [Wed, 14 Dec 2011 18:27:29 +0000 (18:27 +0000)]
Evas: Software_Generic: Fix typo? for __UNUSED__.

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

12 years agoEvas textblock: Added evas_textblock_text_utf8_to_markup.
tasn [Wed, 14 Dec 2011 15:04:03 +0000 (15:04 +0000)]
Evas textblock: Added evas_textblock_text_utf8_to_markup.

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

12 years agoEvas textblock: Fixed a couple of issues caused by previous commits.
tasn [Wed, 14 Dec 2011 13:43:13 +0000 (13:43 +0000)]
Evas textblock: Fixed a couple of issues caused by previous commits.

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

12 years agoEvas textblock: Updated changelog.
tasn [Wed, 14 Dec 2011 13:27:18 +0000 (13:27 +0000)]
Evas textblock: Updated changelog.

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

12 years agoEvas textblock: Made 'br' and 'tab' default tags.
tasn [Wed, 14 Dec 2011 13:27:15 +0000 (13:27 +0000)]
Evas textblock: Made 'br' and 'tab' default tags.

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

12 years agoEvas textblock: Added support for default tags.
tasn [Wed, 14 Dec 2011 13:27:12 +0000 (13:27 +0000)]
Evas textblock: Added support for default tags.

This is useful for defining default tags that can be overridden by style.
For example <b> and <i>.

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

12 years agoEvas tests: Fix textblock text according to function change.
tasn [Wed, 14 Dec 2011 13:27:08 +0000 (13:27 +0000)]
Evas tests: Fix textblock text according to function change.

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

12 years agoevas: use Eina_File for wbmp code and fix a potential race condition at the same...
cedric [Wed, 14 Dec 2011 11:17:09 +0000 (11:17 +0000)]
evas: use Eina_File for wbmp code and fix a potential race condition at the same time.

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

12 years agoevas: move space around.
cedric [Wed, 14 Dec 2011 10:15:57 +0000 (10:15 +0000)]
evas: move space around.

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

12 years agoevas: update ChangeLog and NEWS.
cedric [Wed, 14 Dec 2011 10:03:45 +0000 (10:03 +0000)]
evas: update ChangeLog and NEWS.

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

12 years agoevas: use Eina_File for pmaps.
cedric [Wed, 14 Dec 2011 09:53:25 +0000 (09:53 +0000)]
evas: use Eina_File for pmaps.

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

12 years agoEvas textblock: Renamed *markup_to_plain to *text_markup_to_utf8.
tasn [Wed, 14 Dec 2011 09:52:02 +0000 (09:52 +0000)]
Evas textblock: Renamed *markup_to_plain to *text_markup_to_utf8.

This should conform better to evas and what the function does.

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

12 years agoevas: fix ico loader use of Eina_File.
cedric [Wed, 14 Dec 2011 09:14:27 +0000 (09:14 +0000)]
evas: fix ico loader use of Eina_File.

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

12 years agoevas: ooops
yoz [Tue, 13 Dec 2011 17:00:43 +0000 (17:00 +0000)]
evas: ooops

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

12 years agoevas: Add api to know if an evas_object_image could support region
yoz [Tue, 13 Dec 2011 16:58:20 +0000 (16:58 +0000)]
evas: Add api to know if an evas_object_image could support region

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

12 years agoevas: Fixed svn detection for svn1.7
tasn [Tue, 13 Dec 2011 08:53:37 +0000 (08:53 +0000)]
evas: Fixed svn detection for svn1.7

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

12 years agoEvas linebreak: Fix wordbreak bug when there are chars < 0x0A.
tasn [Tue, 13 Dec 2011 07:32:56 +0000 (07:32 +0000)]
Evas linebreak: Fix wordbreak bug when there are chars < 0x0A.

The binary search used unsigned indexes which didn't work well in
that scenario (would have gotten to -1).

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

12 years ago * Fix grab count negative values if you do weird combinations of
raster [Tue, 13 Dec 2011 05:59:36 +0000 (05:59 +0000)]
    * Fix grab count negative values if you do weird combinations of
        press and release with multiple fingers or multiple mouse
        buttons.

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

12 years agoevas: use Eina_File for ico loader.
cedric [Mon, 12 Dec 2011 17:48:53 +0000 (17:48 +0000)]
evas: use Eina_File for ico loader.

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

12 years agoEvas textblock: Implemented cursor_word_start/end
tasn [Mon, 12 Dec 2011 15:25:46 +0000 (15:25 +0000)]
Evas textblock: Implemented cursor_word_start/end

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

12 years agoEvas liblinebreak: Added the wordbreak support.
tasn [Mon, 12 Dec 2011 15:25:39 +0000 (15:25 +0000)]
Evas liblinebreak: Added the wordbreak support.

Will send it upstream soon. My tests worked, but they are far from
complete. Probably needs more complete testing.

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

12 years agoevas: less warning.
cedric [Mon, 12 Dec 2011 13:42:24 +0000 (13:42 +0000)]
evas: less warning.

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

12 years agoevas: use Eina_File for accessing BMP file.
cedric [Mon, 12 Dec 2011 13:39:35 +0000 (13:39 +0000)]
evas: use Eina_File for accessing BMP file.

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

12 years agoFix rounding error in map clip bounds calculation
raster [Mon, 12 Dec 2011 08:23:24 +0000 (08:23 +0000)]
Fix rounding error in map clip bounds calculation

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

12 years agoonly lround 2 times instead of 4 for map - minor bit of cleaner code.
raster [Mon, 12 Dec 2011 06:25:14 +0000 (06:25 +0000)]
only lround 2 times instead of 4 for map - minor bit of cleaner code.

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

12 years agofix annoying spankies
discomfitor [Sat, 10 Dec 2011 07:21:53 +0000 (07:21 +0000)]
fix annoying spankies

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

12 years agoadd EAPI. Maybe it is missed.
jaehwan [Fri, 9 Dec 2011 07:55:31 +0000 (07:55 +0000)]
add EAPI. Maybe it is missed.

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

12 years agoEvas textblock: Added evas_textblock_markup_to_plain.
tasn [Thu, 8 Dec 2011 15:12:25 +0000 (15:12 +0000)]
Evas textblock: Added evas_textblock_markup_to_plain.

This function converts a textblock markup to plain text.
It converts for example <br/> to \n and a lot more.

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

12 years agoEvas: Updated NEWS file.
tasn [Thu, 8 Dec 2011 13:45:09 +0000 (13:45 +0000)]
Evas: Updated NEWS file.

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

12 years agoEvas: Updated changelog to include latest textblock changes.
tasn [Thu, 8 Dec 2011 13:39:31 +0000 (13:39 +0000)]
Evas: Updated changelog to include latest textblock changes.

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

12 years agoevas: use the right message command when usefull.
cedric [Thu, 8 Dec 2011 13:29:02 +0000 (13:29 +0000)]
evas: use the right message command when usefull.

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

12 years agoEvas textblock: Support self-closing formats, i.e <br/>.
tasn [Thu, 8 Dec 2011 12:05:56 +0000 (12:05 +0000)]
Evas textblock: Support self-closing formats, i.e <br/>.

Also updated tests to follow this. Using <br>, although will work, is
discouraged, please use <br/> instead.

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

12 years agoEvas textblock: Improve internal handling of formats.
tasn [Thu, 8 Dec 2011 12:05:47 +0000 (12:05 +0000)]
Evas textblock: Improve internal handling of formats.

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

12 years agodisable sse3 if immintrin.h not found.
raster [Wed, 7 Dec 2011 00:10:36 +0000 (00:10 +0000)]
disable sse3 if immintrin.h not found.

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

12 years agoevas: less unused warning.
cedric [Tue, 6 Dec 2011 16:08:30 +0000 (16:08 +0000)]
evas: less unused warning.

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

12 years agoevas: include stdlib.h as required.
cedric [Tue, 6 Dec 2011 16:07:59 +0000 (16:07 +0000)]
evas: include stdlib.h as required.

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

12 years agoEvas (gl engine): Remove incorrect __UNUSED__ on paramaters that are
devilhorns [Tue, 6 Dec 2011 00:44:25 +0000 (00:44 +0000)]
Evas (gl engine): Remove incorrect __UNUSED__ on paramaters that are
actually used.

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

12 years agoevas: don't randomly move code around !
cedric [Mon, 5 Dec 2011 16:50:40 +0000 (16:50 +0000)]
evas: don't randomly move code around !

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

12 years agosame for these
discomfitor [Mon, 5 Dec 2011 15:39:04 +0000 (15:39 +0000)]
same for these

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

12 years agoalways have the file which includes config.h first!
discomfitor [Mon, 5 Dec 2011 15:38:55 +0000 (15:38 +0000)]
always have the file which includes config.h first!
SPANK SPANK SPANK cedric!

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

12 years agoevas: use already existing macro.
cedric [Mon, 5 Dec 2011 14:32:10 +0000 (14:32 +0000)]
evas: use already existing macro.

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

12 years agoevas: use eina_lock a little bit more.
cedric [Mon, 5 Dec 2011 14:01:42 +0000 (14:01 +0000)]
evas: use eina_lock a little bit more.

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

12 years agoevas: more fine grained system detection.
cedric [Mon, 5 Dec 2011 14:00:53 +0000 (14:00 +0000)]
evas: more fine grained system detection.

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

12 years agoevas: cast as we did in eina.
cedric [Mon, 5 Dec 2011 13:59:44 +0000 (13:59 +0000)]
evas: cast as we did in eina.

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

12 years agochlog++
raster [Mon, 5 Dec 2011 09:47:49 +0000 (09:47 +0000)]
chlog++

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

12 years agoremove warnings!
raster [Mon, 5 Dec 2011 09:26:04 +0000 (09:26 +0000)]
remove warnings!

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

12 years agoremove warning - bug ready to happen with fastpath. didnt pass
raster [Mon, 5 Dec 2011 09:18:05 +0000 (09:18 +0000)]
remove warning - bug ready to happen with fastpath. didnt pass
sharedlist or direct down.

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

12 years agofix gles/egl bugs/issues in sungwoo's new patch
raster [Mon, 5 Dec 2011 09:05:04 +0000 (09:05 +0000)]
fix gles/egl bugs/issues in sungwoo's new patch

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

12 years agoI'm attaching a patch for the initial version of the GL Fastpath
raster [Mon, 5 Dec 2011 08:54:14 +0000 (08:54 +0000)]
I'm attaching a patch for the initial version of the GL Fastpath
addition to evas gl backend.

Working on different mobile devices, we've noticed that the cost of context
switch (MakeCurrent) in GL can be very expensive depending on the driver
implementation.  To minimize the poorly written driver's context switch
overhead, I've implemented a state tracking layer on top of the driver
implemented GL.

Essentially, this layer wraps all the GL/Glue(GLX/EGL) APIs and manages its own
state changes.  Internally, only one real GL context is created and logical
contexts are created every time a user requests context creation.  The logical
contexts keep track of its states and sets only the necessary states
(the ones that are different than the current ones)
when there is a MakeCurrent request.  The real MakeCurrent gets called when
there is a Surface/Window change request.

The GL library is dlopened and all the APIs are dlsym'ed and wrapped
accordingly.  All the GL functions are in evas_gl_core.{h,c}.

Here's a very simply flow of the code.
   - all the APIs are exported as function pointers (*glsym_glBegin),
     (*glsm_eglCreatContext), and etc.
   - all the native GL/Glue(GLX/EGL) APIs are dlsym'ed as _sym_glBegin,
     _sym_eglCreateContext, and etc.
   - all the fastpath APIs are implmemnted as fpgl_glBegin,
     fpgl_eglCreateContext, and etc.
   - if faspath is seletected, the exported APIs are set accordingly
     ie. glsym_glBegin = fpgl_glBegin;
   - default mode is the regular gl symbols are directly set.
     ie. glsym_glBegin = _sym_glBegin;

I have an Environment variable where you can set it to three different Modes

EVAS_GL_FASTPATH = 0    // Default mode. Regular GL symbols are directly loaded
EVAS_GL_FASTPATH = 1    // Fastpath mode. Takes the path described above.
EVAS_GL_FASTPATH = 2    // Wrapped mode.  All the regular GL functions are
                           wrapped once.  This can be used for various
purposes

Since all the GL symbols are now loaded in this library, I took out all
the gl symbol loading parts in the evas gl backend as you'll see in the patch.
The changes to the engine and the backend itself is pretty minor.

There are still some known issues to hammer out but I thought we're at a good
place for an initial version so that my source doesn't diverge too much.

Known Issues and To Do's
* Current GL Fastpath version doesn't support multiple threads. Instead of
  having one global real context, I would need to do it for each thread. I'll
  get on this soon.

  * Issues running Evas GL on certain conditions.  When running the elementary
  test (with gl engine), if you run ELMGLview test that runs in ON_DEMAND mode,
  everything works fine. BUT, when you run the ELMGLView test in ALWAYS
    mode, the subsequent elm tests shows blank screen. When you destroy the
  GLView window, everything else comes on fine.

  * Resource protection code.  This actually applies to Evas GL code in general
  as well. Since all the resources are shared among all the contexts that get
  created, I would like to eventually have a resource protecting mechanism that
  prevents access to resources outside of its context unless specifically
  specified.

  I'm attaching three files
     - evas_gl_core.h, evas_gl_core.c, fastpath.patch

  To get the code running...
     - copy evas_gl_core.{c,h} to src/modules/engine/gl_common/
     - apply the fastpath.patch
     - compile/install evas
     - to run with fastpath GL (ie. % EVAS_GL_FASTPATH=1 ./evasgl_sample1)

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

12 years agoadd a newline before api link
discomfitor [Sun, 4 Dec 2011 04:29:55 +0000 (04:29 +0000)]
add a newline before api link

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