profile/ivi/evas.git
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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@67304 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoevas: before_char is only used with BIDI_SUPPORT
englebass [Wed, 18 Jan 2012 23:33:43 +0000 (23:33 +0000)]
evas: before_char is only used with BIDI_SUPPORT

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

12 years agoevas: Remove unused variables
englebass [Wed, 18 Jan 2012 23:33:33 +0000 (23:33 +0000)]
evas: Remove unused variables

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

12 years agoevas: par_len is only used with BIDI_SUPPORT
englebass [Wed, 18 Jan 2012 23:33:21 +0000 (23:33 +0000)]
evas: par_len is only used with BIDI_SUPPORT

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

12 years agoevas: Fix shadow warnings
englebass [Wed, 18 Jan 2012 23:33:07 +0000 (23:33 +0000)]
evas: Fix shadow warnings

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

12 years agoupdate all minor versions to 2 (or 6) - and yes. i missed making most
raster [Wed, 18 Jan 2012 02:32:36 +0000 (02:32 +0000)]
update all minor versions to 2 (or 6) - and yes. i missed making most
be 1.1 (or 1.5) for the last release. too late. THIS is why i'm sick
and tired of all the bloody separate libs that have to be versiioned
and build and released separately. :( too many places to go fix up per
release.

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

12 years agoEvas tests: use unitptr_t in callback test.
tasn [Tue, 17 Jan 2012 15:08:38 +0000 (15:08 +0000)]
Evas tests: use unitptr_t in callback test.

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

12 years agowe can optimize matching by breaking loop when match becomes 0 :)
raster [Tue, 17 Jan 2012 09:15:31 +0000 (09:15 +0000)]
we can optimize matching by breaking loop when match becomes 0 :)

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

12 years agoand in a fit of rage... i'm removing those EINA_PURE's - one of them i
raster [Tue, 17 Jan 2012 09:15:05 +0000 (09:15 +0000)]
and in a fit of rage... i'm removing those EINA_PURE's - one of them i
found was causing compiler optimizations to, in some compielr versions
and optimization levels, to skip a func in the eva stest suites...
which is wrong. no more pure mumbo. gone entirely.
evas_textblock_string_escape_get() was the one.

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

12 years agoadd EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN for accessibility
raster [Tue, 17 Jan 2012 08:35:32 +0000 (08:35 +0000)]
add EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN for accessibility
:)

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

12 years agoAdd evas_object_smart_callback_del_full API
sachiel [Mon, 16 Jan 2012 17:25:40 +0000 (17:25 +0000)]
Add evas_object_smart_callback_del_full API

Patch by Raphael Kubo Costas (rakuco)

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

12 years agoEvas (wayland_egl): Fix 'close' of windows. Basically, we will check
devilhorns [Thu, 12 Jan 2012 23:58:17 +0000 (23:58 +0000)]
Evas (wayland_egl): Fix 'close' of windows. Basically, we will check
if the eng setup has a NULL surface, and if the RenderEngine has an
existing surface, that means we are hiding/closing the window, and
thus should free the existing RenderEngine Window.

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

12 years agoAdded new Evas GL api called evas_gl_config_new/free()
sung [Thu, 12 Jan 2012 13:54:06 +0000 (13:54 +0000)]
Added new Evas GL api called evas_gl_config_new/free()
to ensure backward compatibility.  Previously, the user
simply declared a Evas_GL_Config object but this can
cause problems if more config options are added.  So,
we have Evas allocate the config object for the user
so it can handle addition in the future.

Also, added some safety code around _extensions_init

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

12 years agoEvas (wayland_egl): Remove printfs (done debugging that).
devilhorns [Thu, 12 Jan 2012 13:10:53 +0000 (13:10 +0000)]
Evas (wayland_egl): Remove printfs (done debugging that).

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

12 years agoEvas (gl_x11): Move make current so we only have one if.
devilhorns [Thu, 12 Jan 2012 12:25:21 +0000 (12:25 +0000)]
Evas (gl_x11): Move make current so we only have one if.

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

12 years agoEvas (wayland_egl): Fix egl detection in check_engine. (In theory, the
devilhorns [Thu, 12 Jan 2012 09:01:37 +0000 (09:01 +0000)]
Evas (wayland_egl): Fix egl detection in check_engine. (In theory, the
old version of this w/ the 3 includes Should be working, but I've
tested it on 2 machines now, and it fails on both with those lines in
there, so I am removing them).

Make wayland_egl engine Actually work and draw stuff now (too many
code changes to list them all separately). See http://i.imgur.com/i2eBE.png.

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

12 years agoEvas (gl_x11): We cannot call eglMakeCurrent if we have already called
devilhorns [Thu, 12 Jan 2012 06:06:07 +0000 (06:06 +0000)]
Evas (gl_x11): We cannot call eglMakeCurrent if we have already called
eglTerminate prior (eg: eglTerminate was in the wrong place here).

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

12 years agoEvas (wayland_egl): Oops, missed one rename on the engine info
devilhorns [Wed, 11 Jan 2012 23:32:58 +0000 (23:32 +0000)]
Evas (wayland_egl): Oops, missed one rename on the engine info
structure.

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

12 years agoEvas (wayland_egl): Update code to use more descriptive name for
devilhorns [Wed, 11 Jan 2012 23:28:39 +0000 (23:28 +0000)]
Evas (wayland_egl): Update code to use more descriptive name for
engine_info_structure.

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

12 years agoEvas (wayland_egl): Use a more descriptive name for the engine info
devilhorns [Wed, 11 Jan 2012 23:28:01 +0000 (23:28 +0000)]
Evas (wayland_egl): Use a more descriptive name for the engine info
structure.

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

12 years agoEvas: Also enable gl_common if we are building wayland_egl engine.
devilhorns [Wed, 11 Jan 2012 23:17:54 +0000 (23:17 +0000)]
Evas: Also enable gl_common if we are building wayland_egl engine.

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

12 years agoEvas (wayland_egl): Destroy the wl_egl_window also when we free.
devilhorns [Wed, 11 Jan 2012 12:58:59 +0000 (12:58 +0000)]
Evas (wayland_egl): Destroy the wl_egl_window also when we free.

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

12 years agoEvas (wayland_egl): Use proper header name. Remove commented line.
devilhorns [Wed, 11 Jan 2012 12:41:08 +0000 (12:41 +0000)]
Evas (wayland_egl): Use proper header name. Remove commented line.

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

12 years agoEvas (wayland_egl): Redo wayland egl engine code to more closely match
devilhorns [Wed, 11 Jan 2012 12:23:44 +0000 (12:23 +0000)]
Evas (wayland_egl): Redo wayland egl engine code to more closely match
gl_x11.

NB: Not fully functional yet, but does build.

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

12 years agoEvas (wayland_egl): Remove obsolete file (replacing in a minute).
devilhorns [Wed, 11 Jan 2012 12:22:36 +0000 (12:22 +0000)]
Evas (wayland_egl): Remove obsolete file (replacing in a minute).

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

12 years agoEvas (software_generic): Add UNUSED for params that are not used
devilhorns [Wed, 11 Jan 2012 10:40:17 +0000 (10:40 +0000)]
Evas (software_generic): Add UNUSED for params that are not used
(where missing).
Remove unused variables.
Comment out functions that were defined but not used.

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

12 years agoEvas (gl_common): Remove unused variable.
devilhorns [Wed, 11 Jan 2012 10:35:52 +0000 (10:35 +0000)]
Evas (gl_common): Remove unused variable.

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

12 years agoEvas (gl_x11): Fix no return value in function that is supposed to
devilhorns [Wed, 11 Jan 2012 10:34:03 +0000 (10:34 +0000)]
Evas (gl_x11): Fix no return value in function that is supposed to
have Something returned.

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