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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
devilhorns [Wed, 11 Jan 2012 09:48:47 +0000 (09:48 +0000)]
Evas (gl_x11 engine): Fix compiler warning about get_time function.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@67058
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
seoz [Tue, 10 Jan 2012 15:34:39 +0000 (15:34 +0000)]
evas: applied eina_array_count_get -> eina_array_count change.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@67020
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
kakaroto [Sun, 8 Jan 2012 07:22:01 +0000 (07:22 +0000)]
Evas: Do not build altivec feature if disabled in configure
On macosx i386, that code fails because even though __VEC__ is defined,
the compiler doesn't understand the 'vector' keyword (that macro is
irrelevent here). So there was no way to make evas compile for ppc if
altivec was not supported by the compiler.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66966
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
kakaroto [Sun, 8 Jan 2012 07:21:35 +0000 (07:21 +0000)]
Evas: engine for Mac is GL_COCOA not GL_QUARTZ
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66964
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 5 Jan 2012 12:59:08 +0000 (12:59 +0000)]
evas: just disable Evas_GL support in software engine when we don't have dlopen.
NOTE: there is many system without dlopen and we do support them. Please keep it
this way in the future.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66901
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 5 Jan 2012 10:06:49 +0000 (10:06 +0000)]
someone added an awesome bug to bmp loader some time recently. fix!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66897
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sung [Thu, 5 Jan 2012 07:55:23 +0000 (07:55 +0000)]
Added EvasGL support for software backend finally.
* This feature requires libOSMesa to be installed.
One caveat with OSMesa is that a surface config (ie. Depth Buffer and etc)
is associated with a context rather than a surface, which is the case
in EvasGL. So for now, when a user specifies a surface config, it gets
associated with the first context that the surface does a make current to.
For typical usage case, this shouldn't be a prolem. Will need to fix it
eventually.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66896
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
seoz [Thu, 5 Jan 2012 02:07:50 +0000 (02:07 +0000)]
evas Evas.h: Fixed documentation.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66888
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 4 Jan 2012 11:46:39 +0000 (11:46 +0000)]
evas: disable dead code.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66867
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 4 Jan 2012 11:45:22 +0000 (11:45 +0000)]
evas: forgotten inclusion of config.h.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66866
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 3 Jan 2012 14:33:35 +0000 (14:33 +0000)]
Evas textblock: Fixed a possible bug with generic poppers removal.
Patch by Hyoyoung Chang.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66798
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 3 Jan 2012 10:26:53 +0000 (10:26 +0000)]
evas: use Eina_File for PSD loader.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66787
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Tue, 3 Jan 2012 01:01:58 +0000 (01:01 +0000)]
Evas: Framespace width & height Could be zero (it is possible), so
remove checks.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66762
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Mon, 2 Jan 2012 21:27:46 +0000 (21:27 +0000)]
Evas: Fix move/resize of smart objects when using a frame (fixes elm
borders in wayland).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@66761
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33