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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69722
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 28 Mar 2012 13:01:54 +0000 (13:01 +0000)]
Evas: Fix wayland_shm engine canvas_alpha return.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69706
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69693
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69634
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 26 Mar 2012 05:44:18 +0000 (05:44 +0000)]
evas changelog/news fixed/up to date
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69627
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 25 Mar 2012 17:40:44 +0000 (17:40 +0000)]
Evas: fix static linking
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69617
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 25 Mar 2012 17:08:33 +0000 (17:08 +0000)]
fix dist
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69615
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69612
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 25 Mar 2012 12:08:23 +0000 (12:08 +0000)]
whitespaces--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69611
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69579
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69568
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
jihoon [Thu, 22 Mar 2012 14:47:18 +0000 (14:47 +0000)]
Evas.h: fix other typos
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69567
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
jihoon [Thu, 22 Mar 2012 13:32:34 +0000 (13:32 +0000)]
Evas.h: fix some typos
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69566
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69539
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69534
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69522
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69498
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69484
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69482
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69481
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69460
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Fri, 9 Mar 2012 18:05:56 +0000 (18:05 +0000)]
Compile fixes for evas examples.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69113
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Fri, 9 Mar 2012 02:33:37 +0000 (02:33 +0000)]
Evas (wayland_shm): Support setting destination alpha.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69072
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Thu, 8 Mar 2012 16:55:42 +0000 (16:55 +0000)]
Evas (wayland_egl): Cleanup compiler warnings.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69065
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 7 Mar 2012 18:22:52 +0000 (18:22 +0000)]
remove umask. mkstemp does it. :)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@69012
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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