Commit Graph

5515 Commits

Author SHA1 Message Date
Carsten Haitzler debbdfe022 use eina_prefix for module finding as well as generic util bins... and
fix to proviude data file to prefix finding works right with debina
multiarch.



SVN revision: 74710
2012-08-01 06:29:26 +00:00
Jiyoun Park 102a85cc6e Fix evas pointer count problem, if press/release events occurs not pair,
it screws up the evas event process. We are not deal with release event if
there is no pressed pointer


SVN revision: 74705
2012-08-01 05:43:50 +00:00
Jiyoun Park d507bebc92 Gif loader didn't initialize frame buffer of first frame.
fix gif loader to initialize first frame's image data area


SVN revision: 74704
2012-08-01 04:33:12 +00:00
Tom Hacohen 6dd9396d6f Evas font: Fixed compilation without fontconfig.
Thanks a lot to JaMa for reporting this.

SVN revision: 74640
2012-07-31 10:51:11 +00:00
Christopher Michael 2aa4cd4bd5 Evas (wayland_egl): Add traps for a NULL rendering engine.
This can happen when rapidly opening & closing windows and when
engines are swapped between shm & egl programmatically.



SVN revision: 74616
2012-07-31 06:59:35 +00:00
Christopher Michael 72aad68b27 Evas: Fix bugs in Wayland Engine(s) with regard to object geometry &
position. Fix bug when clipping to viewport/framespace. These changes
fix Several buggers on Trac which related to the Wayland Engine(s).

Fix minor bug in evas_render where clipping for framespace would
not take into account the frame height and also move the frame clip to
the values specified in framespace (not viewport).

Fix buggers in evas_object_main which was causing objects (when created using 
the wayland engines) to be an incorrect size & position (objects will now
be the same size/position in EFL Wayland as they are in X11).

Fix evas_object_geometry_get to return values based on where they were
moved (in relation to framespace). (These fixes are for the Wayland
Engines and do not affect X11).

Remove nw/nh from evas_object_resize (not needed variables anymore).



SVN revision: 74565
2012-07-30 09:52:33 +00:00
Christopher Michael 4716f7f7ca Evas: We can include evas_pipe.h in common even without
BUILD_PIPE_RENDER. Fixes an implicit declaration warning when building
the software_generic engine.



SVN revision: 74481
2012-07-27 09:49:51 +00:00
Cedric BAIL 65f245cb08 evas: small doc improvement.
SVN revision: 74468
2012-07-27 02:59:24 +00:00
Tom Hacohen 6c9804fba9 Evas font: Fixed font cache to correctly handle different font sizes.
Used to just go for the first match in the cache which means it would always
think we only have the wrong size in the cache, and it would just add
new entries all the time.

SVN revision: 74435
2012-07-26 11:31:36 +00:00
Cedric BAIL b3e1d00b2f evas: force proxyed objects to stay active so we don't loose update.
SVN revision: 74427
2012-07-26 08:44:54 +00:00
ChunEon Park a3e8b5736d evas/gl - more clean code
SVN revision: 74420
2012-07-26 07:43:47 +00:00
Christopher Michael c652ba9071 Evas: Fix uninitialized variable warning.
SVN revision: 74353
2012-07-24 11:36:31 +00:00
Christopher Michael 4b5e15a133 Evas (wayland_egl): Set resource_list to NULL after we free it. Fix
minor formatting issue.



SVN revision: 74348
2012-07-24 09:19:23 +00:00
Carsten Haitzler c08110c00c conflict--
SVN revision: 74344
2012-07-24 06:33:56 +00:00
Carsten Haitzler a3d66cfed3 fix long standing layer set bug
SVN revision: 74342
2012-07-24 04:59:22 +00:00
Cedric BAIL 58827ba3b6 evas: handle proxy with the right context.
SVN revision: 74340
2012-07-24 04:27:17 +00:00
ChunEon Park 843255a175 evas/gl - +null & less code
This fixes the incorrect operations when evas gl is re-initialized in one same process



SVN revision: 74339
2012-07-24 03:57:27 +00:00
Ingvaldur Sigurjonsson 5410726016 From: Ingvaldur Sigurjonsson <rocketiii.scientist@gmail.com>
Subject: [E-devel] [PATCH]Evas.h comments patch

When reading the comments of 'evas_object_textgrid_update_add' I
noticed 
a little cnp err. The enclosed patch is just a suggestion, but the 
misleading comment was driving me nuts...



SVN revision: 74331
2012-07-24 01:31:50 +00:00
Rob Bradford 1e42e445c5 Evas (wayland_egl): Fix a series of various segfaults with the
wayland_egl engine caused by windows being hidden:

From: Rob Bradford <rob@linux.intel.com>
Date: Fri, 13 Jul 2012 19:13:12 +0100
Subject: [PATCH] evas(wayland_egl): Resolve a series of segfaults on
clean-up

The first was that when a window was being hidden the render engine
(e->engine.data.output) was being assigned to NULL (like on an error
path). I
checked other backends and they only free and nullify this pointer on
error
paths. By doing it on a hide it was interfering with cleanup process
for the
object.

This then highlighted a second crash from the derefence of the window
to NULL
when flushing the cache. If the window was hidden this window pointer
would
be NULL.

The third it highlighted was a duplicate call into
evas_gl_common_image_free
and the freeing of the image cache twice. By the time eng_image_free
has been
called the cache has already been freed so we can remove the duplicate
free.



SVN revision: 74330
2012-07-23 14:33:31 +00:00
Alex Wu 0f50ef36b9 Evas (wayland_egl): Fix crashes when flipping window alpha state.
From: Alex Wu <zhiwen.wu@linux.intel.com>

When calling elm_win_alpha_set(), the global EGLContext object keep
unchanged, but the new EGLSurface object subjects to the new EGLConfig
with changed alpha_size. This makes eng_window_new() failed and hence
free the  Render_Engine object (e->engine.data.output) and nullize it.
Next time other objects reference the output, segfault occurs.

In this patch, I give every Evas_GL_Wl_Window object a EGLContext object
and all these EGLContext objects share the same shader program objects.

A new global EGLContext object "share_context" added, which is
responsible for keeping the shared objects alive. e.g. shader program
objects.At the first time succeeded to create a EGLContext, assign it to
the "share_context", and should not destory it in eng_window_free.

The "share_context" will be taken as the 3rd argument when calling
eglCreateContext(), and then updated to the new created EGLContext to
keep the shared gl objects available.

Thanks for devilhorns' review and suggestion.



SVN revision: 74328
2012-07-23 14:16:50 +00:00
Youness Alaoui 8381ac5f55 Evas: Implement scale_hint_get/set for gl_sdl
SVN revision: 74323
2012-07-23 11:59:18 +00:00
Youness Alaoui cedbafac14 Evas: Update gl_sdl, gl_cocoa, directfb and software_16_sdl engines to use the new function prototype of image_map_draw
The arguments for image_map_draw changed, and these engines were receiving
the wrong data. In the case of gl_cocoa and gl_sdl, the gl_common would
receive a pointer for 'npoints' and would call abort() because npoints
is not 4.

SVN revision: 74321
2012-07-23 11:58:37 +00:00
Cedric BAIL 733338509e evas: make evas_object_smart_type_check more resilient.
Issue reported by JPeg.


SVN revision: 74295
2012-07-22 07:03:29 +00:00
Vincent Torri 15d902f502 remove workaround
SVN revision: 74288
2012-07-21 18:35:46 +00:00
Vincent Torri d8745ead0d libtool authors must be impaled (#3)
SVN revision: 74238
2012-07-20 11:04:22 +00:00
ChunEon Park d8a799003c evas/image - trivial changes
SVN revision: 74204
2012-07-20 05:41:25 +00:00
Cedric BAIL 4107be8da7 evas: little cosmetic fix.
SVN revision: 74181
2012-07-19 11:07:54 +00:00
Cedric BAIL f7d8ab31ed evas: try to unbork previous map fix.
NOTE: That one is nasty and I do admit that this doesn't
sounds like the proper fix, but as it doesn't trigger other
issue and is simple/reasonable I took to defeat that damn
beast.


SVN revision: 74180
2012-07-19 11:07:14 +00:00
Tom Hacohen 322a84e8f9 Evas tests: Fixed warnings.
SVN revision: 74166
2012-07-19 08:17:20 +00:00
Tom Hacohen df9ee73e48 Evas textblock: Fixed memory leak on tb deletion.
Thanks to k-s for reporting this.

SVN revision: 74165
2012-07-19 08:17:17 +00:00
Tom Hacohen d657328c80 Evas font: Add missing include.
Seriously, I don't know why or how, but it got removed from my previous
commit. Anyhow, it's fixed now.

SVN revision: 74159
2012-07-19 06:43:21 +00:00
Jiyoun Park d34502b33f fix bug in jpeg saver.
it override error handler before creation.
modify override error hanler after creation


SVN revision: 74153
2012-07-19 03:04:47 +00:00
Tom Hacohen b22564a2e5 Evas image: reset error after setting a proxy.
evas_object_image_file_set tries to load the file even if the file is NULL,
this in turn makes proxies always report about an error, although there
isn't really one.
I'm not sure whether evas_object_image_file_set should behave the way it
does, but I'm sure the proxy needs to reset the error anyway (because of
potential previous errors).

SVN revision: 74073
2012-07-18 14:09:53 +00:00
Carsten Haitzler 8d4f8f3dc7 fix box size hint handling.
SVN revision: 74039
2012-07-18 06:57:10 +00:00
Rafael Antognolli 30cff2b5fb evas/cserve2: Don't mark as unloaded if we are not
unloading the image.



SVN revision: 74000
2012-07-17 15:15:01 +00:00
Rafael Antognolli 665cffc165 evas/cserve2: Set image->flags.loaded on loaded_handle.
The flag and pixel data will be set on this callback, avoiding new
image_load_data() to create a new request or wait for the LOADED
message.



SVN revision: 73999
2012-07-17 15:14:54 +00:00
Rafael Antognolli 0efde61fef evas/cserve2: Don't set image loaded if we didn't get
pixel data yet.



SVN revision: 73998
2012-07-17 15:14:01 +00:00
Gustavo Lima Chaves fb2a822637 [evas] Interfaces improvement.
iface add() before smart add() is better.



SVN revision: 73991
2012-07-17 14:50:25 +00:00
Iván Briano 39040ba07a Set load options in the SETOPTS message
SVN revision: 73990
2012-07-17 14:24:08 +00:00
Iván Briano 4b1e5871aa Avoid calling the requets callbacks if the entry was
freed



SVN revision: 73989
2012-07-17 14:23:54 +00:00
Iván Briano 69f2a9154c When changing request type, it helps to let the request
know what its new type is



SVN revision: 73988
2012-07-17 14:23:43 +00:00
Iván Briano 667b42fbf2 No need for a separate Slave_Request pointer with font
entries



SVN revision: 73987
2012-07-17 14:23:36 +00:00
Iván Briano 073da7dfb2 Add Speculative Load type to requests and a way to
change requests from one type to another



SVN revision: 73986
2012-07-17 14:23:26 +00:00
Iván Briano 558e2eb267 Rename Font_Request so I stop being stupidly confused
by it.



SVN revision: 73985
2012-07-17 14:23:19 +00:00
Iván Briano 0e2294db55 Move image opening/loading to the new requests system
A lot going on here:
 - Request callbacks were adapted to fit the new scheme
 - The old requests systems in the cache was wiped out
 - Old slave handling in evas_cserve2_main.c is dead too
 - PRELOAD commands are responded with LOADED now



SVN revision: 73984
2012-07-17 14:23:09 +00:00
Iván Briano 0022544c8b Allow creating requets without a client waiting on it
SVN revision: 73983
2012-07-17 14:22:57 +00:00
Iván Briano 1f601af021 Cancel dependents only when the request itself is
cancelled



SVN revision: 73982
2012-07-17 14:22:52 +00:00
Iván Briano 30dd288a01 Call the requests callbacks only once per request
Message creation was like that already, but now we call the response or
error callback for the request only once. The cache does what it needs
there and returns, in the case of a successful response, the message
that will be sent to the client.



SVN revision: 73981
2012-07-17 14:22:42 +00:00
Cedric BAIL 7f1e95afc8 evas: fix evas map life cycle.
SVN revision: 73963
2012-07-17 09:09:45 +00:00
Cedric BAIL 64fd2b487a evas: fix garbage with left over mapped smart object.
This fix the bug reported by Bruno Dilly.


SVN revision: 73944
2012-07-17 03:35:53 +00:00