profile/ivi/evas.git
12 years agoFrom: Jérôme Pinot <ngc891@gmail.com>
raster [Thu, 29 Mar 2012 11:41:22 +0000 (11:41 +0000)]
From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] evas doxygen doc (1)

There are a lot of small things to fix in the evas doc. Here is a first
batch. Fixes are trivial and obvious. Just a question about the first
hunk, I removed the <tdb> that replaced valid email for companies
because it makes doxygen complain about the unknown tag and, well, it
doesn't give any information either. Was there an explanation about
adding this ?

Joined is the patch along with the doc build log diff.

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

12 years agoevas doxyfile deprecated values from Jérôme Pinot
jihoon [Thu, 29 Mar 2012 11:04:06 +0000 (11:04 +0000)]
evas doxyfile deprecated values from Jérôme Pinot

The doxyfile of evas contains some variables that have been deprecated a
long time ago (6 years for some of them). Here is a patch that fix this
build warning:

make -C doc doc
make[1]: Entering directory `/tmp/evas/doc'
rm -rf html/ latex/ man/ xml/ evas-1.2.0-alpha-doc.tar*
doxygen
warning: Tag `DETAILS_AT_TOP' at line 44 of file Doxyfile has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 135 of file Doxyfile has become
obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 136 of file Doxyfile has become
obsolete.
To avoid this warning please update your configuration file using "doxygen -u"

As suggested, it would be good to run again doxygen -u Doxyfile.in

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

12 years agoadd reg_get api for evas objects in order to help fix elm bug.
raster [Thu, 29 Mar 2012 07:46:30 +0000 (07:46 +0000)]
add reg_get api for evas objects in order to help fix elm bug.

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

12 years agoEvas: Fix wayland_shm engine canvas_alpha return.
devilhorns [Wed, 28 Mar 2012 13:01:54 +0000 (13:01 +0000)]
Evas: Fix wayland_shm engine canvas_alpha return.

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

12 years agoevas evas_object_main.c: Revised code. Use EINA_TRUE/EINA_FALSE for Eina_Bool type...
seoz [Wed, 28 Mar 2012 07:17:39 +0000 (07:17 +0000)]
evas evas_object_main.c: Revised code. Use EINA_TRUE/EINA_FALSE for Eina_Bool type variable.

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

12 years agosomeone somewhere along the way broke evas_render_method_list(). FIX!
raster [Mon, 26 Mar 2012 10:56:55 +0000 (10:56 +0000)]
someone somewhere along the way broke evas_render_method_list(). FIX!

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

12 years agoevas changelog/news fixed/up to date
raster [Mon, 26 Mar 2012 05:44:18 +0000 (05:44 +0000)]
evas changelog/news fixed/up to date

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

12 years agoEvas: fix static linking
caro [Sun, 25 Mar 2012 17:40:44 +0000 (17:40 +0000)]
Evas: fix static linking

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

12 years agofix dist
caro [Sun, 25 Mar 2012 17:08:33 +0000 (17:08 +0000)]
fix dist

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

12 years agoEvas: fix shm_open() check (can be in libc or librt)
caro [Sun, 25 Mar 2012 16:39:04 +0000 (16:39 +0000)]
Evas: fix shm_open() check (can be in libc or librt)

 This works in linux and windows, and should fix shm_detection on BSD (including Mac)

 BSD, Mac and solaris users : please check that it compiles and shm_open is detected

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

12 years agowhitespaces--
caro [Sun, 25 Mar 2012 12:08:23 +0000 (12:08 +0000)]
whitespaces--

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

12 years agogo back to the "old fashioned way" of doing yuv->rgb without matrix.
raster [Fri, 23 Mar 2012 06:49:42 +0000 (06:49 +0000)]
go back to the "old fashioned way" of doing yuv->rgb without matrix.
the matrix seems to screw up on too many gl drivers/implementations.

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

12 years agoThose are not currently implemented, so documenting them is confusing to
gastal [Thu, 22 Mar 2012 16:57:16 +0000 (16:57 +0000)]
Those are not currently implemented, so documenting them is confusing to
users.

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

12 years agoEvas.h: fix other typos
jihoon [Thu, 22 Mar 2012 14:47:18 +0000 (14:47 +0000)]
Evas.h: fix other typos

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

12 years agoEvas.h: fix some typos
jihoon [Thu, 22 Mar 2012 13:32:34 +0000 (13:32 +0000)]
Evas.h: fix some typos

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

12 years agoFrom: Jérôme Pinot <ngc891@gmail.com>
raster [Wed, 21 Mar 2012 11:54:28 +0000 (11:54 +0000)]
From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] evas doc typos

3 typos in evas doc.

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

12 years agofix map overdraw issue that has snuck in during development
raster [Wed, 21 Mar 2012 04:04:03 +0000 (04:04 +0000)]
fix map overdraw issue that has snuck in during development

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

12 years agomake sure we clean temporary objects - make some notes too.
raster [Tue, 20 Mar 2012 08:08:42 +0000 (08:08 +0000)]
make sure we clean temporary objects - make some notes too.

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

12 years agofix up missing LKI/LKD which was still pthread. hurts windows port due
raster [Mon, 19 Mar 2012 06:18:44 +0000 (06:18 +0000)]
fix up missing LKI/LKD which was still pthread. hurts windows port due
to using eina_lock there.

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

12 years agoand work more on getting release in shape - version requirements.
raster [Sat, 17 Mar 2012 06:25:41 +0000 (06:25 +0000)]
and work more on getting release in shape - version requirements.

(god this is a pain in the butt)

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

12 years agoadd back in libs.private/requires to pc files with some fixes for
raster [Sat, 17 Mar 2012 05:37:25 +0000 (05:37 +0000)]
add back in libs.private/requires to pc files with some fixes for
missing.

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

12 years agogear up svn for release. one of many steps/things to do.
raster [Sat, 17 Mar 2012 04:17:29 +0000 (04:17 +0000)]
gear up svn for release. one of many steps/things to do.

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

12 years agoevas: print error instead of only silently preventing bad things to happen.
cedric [Fri, 16 Mar 2012 15:02:01 +0000 (15:02 +0000)]
evas: print error instead of only silently preventing bad things to happen.

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

12 years agoCompile fixes for evas examples.
gastal [Fri, 9 Mar 2012 18:05:56 +0000 (18:05 +0000)]
Compile fixes for evas examples.

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

12 years agoEvas (wayland_shm): Support setting destination alpha.
devilhorns [Fri, 9 Mar 2012 02:33:37 +0000 (02:33 +0000)]
Evas (wayland_shm): Support setting destination alpha.

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

12 years agoEvas (wayland_egl): Cleanup compiler warnings.
devilhorns [Thu, 8 Mar 2012 16:55:42 +0000 (16:55 +0000)]
Evas (wayland_egl): Cleanup compiler warnings.

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

12 years agoremove umask. mkstemp does it. :)
raster [Wed, 7 Mar 2012 18:22:52 +0000 (18:22 +0000)]
remove umask. mkstemp does it. :)

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

12 years agoEvas textblock: Replaced style_user_set/get with push/pop/peek.
tasn [Wed, 7 Mar 2012 14:02:35 +0000 (14:02 +0000)]
Evas textblock: Replaced style_user_set/get with push/pop/peek.

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

12 years agoto be paranoid - ensure umask for mkstemp allows no other uids oir
raster [Wed, 7 Mar 2012 09:05:47 +0000 (09:05 +0000)]
to be paranoid - ensure umask for mkstemp allows no other uids oir
grps access.

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

12 years agoEvas textblock: Fixed bug in style tags parsing.
tasn [Tue, 6 Mar 2012 13:54:37 +0000 (13:54 +0000)]
Evas textblock: Fixed bug in style tags parsing.

Thanks a lot to cedric for letting me know about it.

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

12 years agofix BS related with jpeg rotation.
jypark [Tue, 6 Mar 2012 11:52:03 +0000 (11:52 +0000)]
fix BS related with jpeg rotation.
during decoding, ie's w and h should not change it's value
because several objects use same cache entry

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

12 years agoremoved useless information about libm dependency which is shipped with libc
thanatermesis [Mon, 5 Mar 2012 13:26:41 +0000 (13:26 +0000)]
removed useless information about libm dependency which is shipped with libc

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

12 years agoEvas textblock: Fixed wrong parsing of style tags. Support escaped '.
tasn [Thu, 1 Mar 2012 13:08:53 +0000 (13:08 +0000)]
Evas textblock: Fixed wrong parsing of style tags. Support escaped '.

Thanks to cippp for the report.

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

12 years agoEvas event freezing code sample.
gastal [Wed, 29 Feb 2012 13:49:04 +0000 (13:49 +0000)]
Evas event freezing code sample.

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

12 years agoAdd warning that people should probably use ecore evas instead of evas
gastal [Wed, 29 Feb 2012 13:49:00 +0000 (13:49 +0000)]
Add warning that people should probably use ecore evas instead of evas
event feeding.

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

12 years agoEvas (wayland): Comment out eglTerminate (is causing hangs when
devilhorns [Tue, 28 Feb 2012 21:57:59 +0000 (21:57 +0000)]
Evas (wayland): Comment out eglTerminate (is causing hangs when
running under the current weston compositor).

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

12 years agoFrom: <om101.woo@samsung.com>
raster [Tue, 28 Feb 2012 11:55:14 +0000 (11:55 +0000)]
From: <om101.woo@samsung.com>
Subject: image data get/set pairing issue

I found a bug about pairing
evas_object_image_data_get/set(eng_image_data_get/put).

It was added to count checked_out for paring
eglMapImageSEC/eglUnmapImageSEC.

In case of calling evas_object_image_data_set() twice after calling
evas_object_image_data_get(), dyn.checked_out has -1.

Then, if evas_object_image_data_get() and evas_object_image_data_set()
is call, it can't call eglUnmapImageSEC().

If dyn.checked_out has minus, it can make some problem.

So, I fixed this problem.

Please find enclosed patch file and let me know if I misunderstood.

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

12 years agowarning--
raster [Mon, 27 Feb 2012 05:52:25 +0000 (05:52 +0000)]
warning--

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

12 years agoFix linking complaints brought out by:
raster [Mon, 27 Feb 2012 05:20:17 +0000 (05:20 +0000)]
Fix linking complaints brought out by:

From: Thanatermesis <thanatermesis.ecvs@gmail.com>
Subject: [E-devel] LDFLAGS with -Wl,-z,defs

Aparently if you add the option "-Wl,-z,defs" to your LDFLAGS, there's some
libs that doesn't compile, like evas and e_dbus, there's some logs:

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

12 years agofix gif cannot deal with transparent color.
jypark [Sun, 26 Feb 2012 10:46:56 +0000 (10:46 +0000)]
fix gif cannot deal with transparent color.
when make first frame, it didn't consider alpha value.
change code to deal with alpha value

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

12 years agoEvas: check static inline functions, not just inline ones
caro [Sun, 26 Feb 2012 07:09:07 +0000 (07:09 +0000)]
Evas: check static inline functions, not just inline ones

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

12 years agoEvas generic object group documentation improvement.
gastal [Fri, 24 Feb 2012 17:05:44 +0000 (17:05 +0000)]
Evas generic object group documentation improvement.

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

12 years agoecore,embryo,evas: fix copy & paste issue.
cedric [Fri, 24 Feb 2012 14:07:57 +0000 (14:07 +0000)]
ecore,embryo,evas: fix copy & paste issue.

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

12 years agoevas: add Exotic support.
cedric [Fri, 24 Feb 2012 11:21:57 +0000 (11:21 +0000)]
evas: add Exotic support.

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

12 years agoFixed glBindFramebuffer(0) issue for Direct Rendering
sung [Fri, 24 Feb 2012 08:13:48 +0000 (08:13 +0000)]
Fixed glBindFramebuffer(0) issue for Direct Rendering
optimization.  current_fbo wasn't being set to 0
so the above case wasn't being handled properly.

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

12 years agoFrom: Seungsoo Woo <om101.woo@samsung.com>
sung [Fri, 24 Feb 2012 07:55:04 +0000 (07:55 +0000)]
From: Seungsoo Woo <om101.woo@samsung.com>
subject: [E-devel] [Patch] Add override gl apis for osmesa

When an application use glBindFramebuffer or glBindRenderbuffer via
evas_gl after loding libosmesa.so,it shows segment fault.

Because glBindFramebuffer and glBindRenderbuffer are not overrided.
So, I fixed it.

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

12 years agoyes - inow. this managed to get out in 1.1 being deprecated. lets not
raster [Fri, 24 Feb 2012 00:52:29 +0000 (00:52 +0000)]
yes - inow. this managed to get out in 1.1 being deprecated. lets not
mark the func as deprecated tho - keep in docs.

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

12 years agoBetter evas rectangle docs.
gastal [Thu, 23 Feb 2012 18:14:30 +0000 (18:14 +0000)]
Better evas rectangle docs.

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

12 years agoevas: remove software SDL engine, use buffer engine directly.
cedric [Thu, 23 Feb 2012 16:25:07 +0000 (16:25 +0000)]
evas: remove software SDL engine, use buffer engine directly.

NOTE: I would like to do the same with software SDL 16bits engine.
But as we don't have a buffer_16 backend, I am likely to just remove
it and use buffer conversion code to match a 16bits target. This
will come with a performance impact, that will make it useless. So
I am just tempted to completly remove it.

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

12 years agofix update region handling with scaling.
raster [Thu, 23 Feb 2012 06:07:37 +0000 (06:07 +0000)]
fix update region handling with scaling.

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

12 years agosince too many people make this mistake of not reading evas's docs and
raster [Thu, 23 Feb 2012 04:53:19 +0000 (04:53 +0000)]
since too many people make this mistake of not reading evas's docs and
seeing color is PREMULTIPLIED ARGB... evas_object_color_set is just
going to enforce it and limit r, g and b to a.

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

12 years agosilence annoying xpm header not found error message; this is frequently caused (erron...
discomfitor [Wed, 22 Feb 2012 23:58:46 +0000 (23:58 +0000)]
silence annoying xpm header not found error message; this is frequently caused (erroneously) when reading images of unknown format

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

12 years agofix regression during 1.1 dev (towards 1.2) that made evas over-render
raster [Tue, 21 Feb 2012 07:01:39 +0000 (07:01 +0000)]
fix regression during 1.1 dev (towards 1.2) that made evas over-render
way too much! FIXED

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

12 years agoshut gcc warning up - pointless but hey - 1 warn less.
raster [Sat, 18 Feb 2012 08:56:00 +0000 (08:56 +0000)]
shut gcc warning up - pointless but hey - 1 warn less.

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

12 years agomissed this file
caro [Sat, 18 Feb 2012 08:33:36 +0000 (08:33 +0000)]
missed this file

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

12 years agoEvas: remove WIN32_CPPFLAGS and WIN32_CFLAGS are there are not used anymore. Move...
caro [Sat, 18 Feb 2012 08:33:00 +0000 (08:33 +0000)]
Evas: remove WIN32_CPPFLAGS and WIN32_CFLAGS are there are not used anymore. Move some headers in evas_common.h

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

12 years agoEvas: use evil_path_is_absolute()
caro [Fri, 17 Feb 2012 21:35:57 +0000 (21:35 +0000)]
Evas: use evil_path_is_absolute()

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

12 years ago[Evas] Use the right size for parent smart class on
glima [Thu, 16 Feb 2012 16:27:21 +0000 (16:27 +0000)]
[Evas] Use the right size for parent smart class on
 inheritance.

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

12 years agowhile looking into the infintie loop issue - update regions can become
raster [Tue, 14 Feb 2012 11:45:23 +0000 (11:45 +0000)]
while looking into the infintie loop issue - update regions can become
a lot in these pathological cases, so limit them to 24 and if > use
bounding box as a single region.

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

12 years agomake rect_t use int's... no overflow. yay!
raster [Mon, 13 Feb 2012 14:37:41 +0000 (14:37 +0000)]
make rect_t use int's... no overflow. yay!

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

12 years agoFrom: Hyoyoung Chang <hyoyoung@gmail.com>
raster [Mon, 13 Feb 2012 11:25:23 +0000 (11:25 +0000)]
From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] evas - preventing retard mouse event
process in evas_object_event_callback_call

I made a small patch to prevent retard mouse event process.
At certain circumstance (like as genlist select callback + naviframe
item push),
some events are repeat processed.

If some evas_objects're iterating in evas_event_feed_mouse_up and
mouse_out event's emitted by other interrupt(such as naviframe item
push),
then some evas_objects events are multiple processed by
evas_object_event_callback_call.

More elaborating it with a example.
There are a genlist and a multibuttonentry on genlist item.
When a user clicks multibuttonentry then evas will process mouse down
and up.
in evas_event_feed_mouse_up, it gets evas object list to process mouse
events.
Then in the evas object list, there are two evas objects - rect and
textblock.
Two objects have its own parents.

the rect has below parents.
----------------------------------------
edje  - genlist item
elm_genlist_pan
edje
multibuttonentry
box
entry
els_scroller  (0x2a601788)
rect                                      <== the rect

the textblock has below parents.
----------------------------------------------
edje - genlist item
elm_genlist_pan
edje
multibuttonentry
box
entry
els_scroller(0x2a601788)
edje
elm_pan
edje
textblock                           <== the textblock

(note : two evas object have same parent (els_scroller))

So normally mouse up callbacks event propagates to its own parent.
the rect is processed to genlist item. and the textblock is processed
to genlist item.
but when els_scroller is processed, it's blocked by checking event
type and event id checking.

Mouse Up(rect) ->  Mouse Up(textblock)
event_id (3)      ->   event_id (3)

evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type
type, void *event_info, int event_id)
{
   ...
      if ((obj->delete_me) || (!obj->layer)) return;
         if ((obj->last_event == event_id) &&
                (obj->last_event_type == type)) return;
                     <=== blocked

                     However if naviframe item is pushed in the middle
of mouse up processing.
It can break into mouse up. So it's processed like below.

Mouse Up(rect) -> Mouse Out(rect) -> Mouse Out(textblock) -> Mouse
Up(textblock)
event_id (3)      -> event_id(4)         -> event_id(4)
-> event_id(3)
(note Mouse_Out is made by naviframe item push for event freezing)

If that, there's no mechanism to block that repeat processing same
event.
So I suggest this patch.
This patch blocks old events if there's no reason to process.
(It blocks old mouse_up event because mouse_out is processed.)

And I think it also clear the bug in
"[E-devel] event repetition with elm_naviframe/elm_genlist"

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

12 years agoevas/gl_common - set line color with draw context.
hermet [Mon, 13 Feb 2012 05:05:59 +0000 (05:05 +0000)]
evas/gl_common - set line color with draw context.

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

12 years agoevas/evas_events - do not call the up event when obj is freezed and removed useless...
hermet [Fri, 10 Feb 2012 13:39:15 +0000 (13:39 +0000)]
evas/evas_events - do not call the up event when obj is freezed and removed useless codes.

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

12 years agoEvas textblock: Better handle visible formats.
tasn [Thu, 9 Feb 2012 12:21:18 +0000 (12:21 +0000)]
Evas textblock: Better handle visible formats.

Fixed a crash. Thanks WooHyun for making me fix it now. :)

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

12 years agoEvas jpeg loader: Fixed a couple of compilation warnings.
tasn [Thu, 9 Feb 2012 10:21:17 +0000 (10:21 +0000)]
Evas jpeg loader: Fixed a couple of compilation warnings.

There are a couple more *important* warnings. The switch case at line 564
does not cover all options.

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

12 years agohmm no - we shouldnt delete here.. we just find it in the active image
raster [Thu, 9 Feb 2012 03:50:10 +0000 (03:50 +0000)]
hmm no - we shouldnt delete here.. we just find it in the active image
hash. as such the image is dirtied and thus removed from this hash
anyway so it doesnt need deleting.

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

12 years agosome more debug for surfs
raster [Wed, 8 Feb 2012 12:25:50 +0000 (12:25 +0000)]
some more debug for surfs

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

12 years agoadd some definable surf debug code... and STORE allocated size on
raster [Wed, 8 Feb 2012 12:08:41 +0000 (12:08 +0000)]
add some definable surf debug code... and STORE allocated size on
alloc so cache doesnt overfill!!!!!!!!!!!!!!!

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

12 years agorevert cedricism's. this just creates an infintie evas_image_entry leak.
raster [Wed, 8 Feb 2012 11:22:09 +0000 (11:22 +0000)]
revert cedricism's. this just creates an infintie evas_image_entry leak.

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

12 years agolet's link to the right libs for wayland shm eh?
raster [Wed, 8 Feb 2012 11:21:05 +0000 (11:21 +0000)]
let's link to the right libs for wayland shm eh?

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

12 years agofix @dates in each header file
jihoon [Sun, 5 Feb 2012 23:37:45 +0000 (23:37 +0000)]
fix @dates in each header file

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

12 years ago[evas/evas_object_textblock] When markup_to_utf8 is tried with an invalid
woohyun [Fri, 3 Feb 2012 11:24:44 +0000 (11:24 +0000)]
[evas/evas_object_textblock] When markup_to_utf8 is tried with an invalid
escape tag, escape will be NULL. "eina_strbuf_append" should not be
called with NULL string.

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

12 years agoevas: use evas_image_cache_drop instead of plain wrong call to free.
cedric [Wed, 1 Feb 2012 17:28:30 +0000 (17:28 +0000)]
evas: use evas_image_cache_drop instead of plain wrong call to free.

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

12 years agoEvas textblock: Fixed native size calculation - margins were not used.
tasn [Tue, 31 Jan 2012 11:32:48 +0000 (11:32 +0000)]
Evas textblock: Fixed native size calculation - margins were not used.

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

12 years agofix memory leak of dirty image
jypark [Mon, 30 Jan 2012 14:36:15 +0000 (14:36 +0000)]
fix memory leak of dirty image
if file was chaned by somebody, it was added to dirty list during cache request.
currently this dirty image added to cache->dirty list and never freed until image shutdown.
but dirty image of chaned file never used so add delete code for memory efficiency.
and fix bad indentation.

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

12 years agoFixing my silly mistake before someone else catches it.
sung [Mon, 30 Jan 2012 11:21:38 +0000 (11:21 +0000)]
Fixing my silly mistake before someone else catches it.

I was accessing a variable before it was NULL checked.
Fixed now.

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

12 years agoEvas textblock: Fixed a possible invalid mem write.
tasn [Sun, 29 Jan 2012 10:01:27 +0000 (10:01 +0000)]
Evas textblock: Fixed a possible invalid mem write.

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

12 years agoEvas (m4): Use simpler check for wayland egl. Don't reset
devilhorns [Sat, 28 Jan 2012 13:47:12 +0000 (13:47 +0000)]
Evas (m4): Use simpler check for wayland egl. Don't reset
'gl_flavor_gles' when checking for sgx support (if we reset
gl_flavor_gles here, then the autofoo output always returns 'NO' for
gles.

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

12 years agoEvas: Fix typo in autofoo output.
devilhorns [Sat, 28 Jan 2012 13:40:21 +0000 (13:40 +0000)]
Evas: Fix typo in autofoo output.

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

12 years agoEvas textblock: Fixed style user memory leak.
tasn [Thu, 26 Jan 2012 14:02:59 +0000 (14:02 +0000)]
Evas textblock: Fixed style user memory leak.

Thanks to Hermet for spotting it.

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

12 years agoThe polygon drawing code for the DirectFB backend incorrectly casts a
barbieri [Wed, 25 Jan 2012 18:40:22 +0000 (18:40 +0000)]
The polygon drawing code for the DirectFB backend incorrectly casts a
void pointer causing a segfault. The attached patch fixes the issue
and allows an expedite run to complete.

By: Will Newton <will.newton@gmail.com>

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

12 years agoFixed a logic error for Evas GL Direct rendering override
sung [Wed, 25 Jan 2012 05:08:23 +0000 (05:08 +0000)]
Fixed a logic error for Evas GL Direct rendering override
option.

It should have been OR instead of AND operator.

When the image object alpha is on "OR" the rotation angle
is not "0", direct rendering isn't allowed.  However,
allow direct rendering if EVAS_GL_DIRECT_OVERRIDE=1 is set.

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

12 years agoEvas textblock: Added user style support.
tasn [Mon, 23 Jan 2012 16:08:36 +0000 (16:08 +0000)]
Evas textblock: Added user style support.

This should make it easier to override the style set in textblock.

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

12 years agoenable coverage for evas as well.
barbieri [Sun, 22 Jan 2012 23:09:47 +0000 (23:09 +0000)]
enable coverage for evas as well.

also print out the docs, so the buildbot gets it.

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

12 years agoevas: use correct format for size_t
billiob [Sun, 22 Jan 2012 19:52:02 +0000 (19:52 +0000)]
evas: use correct format for size_t

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

12 years agoevas: fix strict prototypes
billiob [Sun, 22 Jan 2012 19:51:49 +0000 (19:51 +0000)]
evas: fix strict prototypes

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

12 years agoAdded Direct Rendering to Evas' window instead of an FBO in Evas_GL.
sung [Fri, 20 Jan 2012 12:29:14 +0000 (12:29 +0000)]
Added Direct Rendering to Evas' window instead of an FBO in Evas_GL.

This optimization is significant for rendering to a large surface
because it'l save an extra copy overhead as well as an extra rendering pass.

To enable it, you can give EVAS_GL_OPTIONS_DIRECT hint in the surface
config options_bits. The following conditions have to be met in order
for evas to render directly into the Evas' window. If they are not met, the
engine will fallback to rendering to an FBO as it normally does.

conditions:
1.) All the GL calls have to be called using the pixel_get_callback function.
This is necessary for the evas object order to be maintained.
2.) Alpha must be disabled on the image ojbect that renders evas_gl.
3.) No rotation allowed.

One way to override above condition is to set EVAS_GL_DIRECT_OVERRIDE=1 but
there is no guarantee in its behavior.

Currently, this optimization is added for gl_x11 engine only.

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

12 years agoevas_blend_ops: Fix gcc complains about static used in non static inline functions.
barbieri [Thu, 19 Jan 2012 16:55:17 +0000 (16:55 +0000)]
evas_blend_ops: Fix gcc complains about static used in non static inline functions.

Make the functions static as well to avoid gcc warnings like this:
warning: 'ALPHA_SSE3' is static but used in inline function 'sub4_alpha_sse3' which is not static

Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@67355 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agooopps!
barbieri [Thu, 19 Jan 2012 16:52:58 +0000 (16:52 +0000)]
oopps!

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

12 years agofix gcc warnings about set-but-unused and shadows of y1.
barbieri [Thu, 19 Jan 2012 16:49:47 +0000 (16:49 +0000)]
fix gcc warnings about set-but-unused and shadows of y1.

NOTE: did not touch mess that is jpeg, someone else can deal with it :-P

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

12 years agofix set-but-not-used errors from newer gcc.
barbieri [Thu, 19 Jan 2012 16:35:47 +0000 (16:35 +0000)]
fix set-but-not-used errors from newer gcc.

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

12 years agoevas: add double buffer support to buffer engine.
cedric [Thu, 19 Jan 2012 15:17:24 +0000 (15:17 +0000)]
evas: add double buffer support to buffer engine.

NOTE: This patch is a first step to replace and remove
Evas SDL Software backend.

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

12 years agoEvas textblock: Fix a bug with ellipsis and word-wrap.
tasn [Thu, 19 Jan 2012 12:11:44 +0000 (12:11 +0000)]
Evas textblock: Fix a bug with ellipsis and word-wrap.

Ellipsis didn't work well with word wrapping textblocks.

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

12 years agoEvas textblock tests: Fix tests warnings.
tasn [Thu, 19 Jan 2012 09:02:12 +0000 (09:02 +0000)]
Evas textblock tests: Fix tests warnings.

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

12 years agoEvas textblock: Also add tab support to prev commit, oops.
tasn [Thu, 19 Jan 2012 08:44:01 +0000 (08:44 +0000)]
Evas textblock: Also add tab support to prev commit, oops.

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

12 years agoEvas textblock: Filter out illegal chars from format.
tasn [Thu, 19 Jan 2012 08:41:37 +0000 (08:41 +0000)]
Evas textblock: Filter out illegal chars from format.

This really just filters them out. The solution is not complete, nor is
it the best one. But this fixes the bugs for the meanwhile.

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

12 years agoEvas textblock: Indentation adjustment for the previous commit.
tasn [Thu, 19 Jan 2012 07:52:37 +0000 (07:52 +0000)]
Evas textblock: Indentation adjustment for the previous commit.

(I wanted the actual changes to be clear for review, so I split the
commit to two).

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

12 years agoEvas textblock: Merge text and format wrapping handling.
tasn [Thu, 19 Jan 2012 07:52:34 +0000 (07:52 +0000)]
Evas textblock: Merge text and format wrapping handling.

This should add a more standard compliant line breaking for format items
as well.

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

12 years agoevas: correct notation to indicate unused variable
englebass [Wed, 18 Jan 2012 23:34:05 +0000 (23:34 +0000)]
evas: correct notation to indicate unused variable

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

12 years agoevas: only check references ifndef EVAS_CSERVE
englebass [Wed, 18 Jan 2012 23:33:54 +0000 (23:33 +0000)]
evas: only check references ifndef EVAS_CSERVE

We only check the value of references if EVAS_CSERVE isn't defined, so
no need to define it or assign it if EVAS_CSERVE isn't defined.

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