Commit Graph

4742 Commits

Author SHA1 Message Date
ChunEon Park 3b66084b1b evas/image - I removed them to prevent going along with release.
please add them locally.



SVN revision: 75382
2012-08-17 11:06:23 +00:00
Mike Blumenkrantz 490fe3771a put aborts back, they were added for a reason.
SVN revision: 75379
2012-08-17 09:49:52 +00:00
ChunEon Park 14d7f1cce7 evas/render - code refactoring.
removed duplicated



SVN revision: 75351
2012-08-17 06:16:04 +00:00
ChunEon Park 225630552e evas/render - let clip the child even if it's the mapped obj and do it only when clipper exists.
SVN revision: 75350
2012-08-17 06:02:49 +00:00
ChunEon Park 8f54340beb evas/evas_object_image - removed aborts
SVN revision: 75348
2012-08-17 05:46:38 +00:00
ChunEon Park dc99ca8987 evas/gl_common - less pointer access
SVN revision: 75346
2012-08-17 04:43:23 +00:00
Christopher Michael d5eb01a904 Evas: Since we munge the framespace values in evas_object_geometry_get
function, we should do the same for events. This fixes the cursor
position in elm widgets.

NB: I have been running this patch for 2 days and see not bad side
effects in either wayland engines, or X11 engines. Patch from Robert
Bradford @ Intel, slightly modified by myself to avoid the overhead of
another function call.



SVN revision: 75309
2012-08-16 08:08:44 +00:00
Christopher Michael bdb2beb69a Evas (wayland): We should also check for framespace changes here and
adjust the clip size and position if something changed.

NB: Found this during final fullscreen testing where, when fullscreen,
the clip was not getting moved or resized.



SVN revision: 75291
2012-08-15 10:00:09 +00:00
Tom Hacohen fc94d7b168 Evas textblock: Fixed range geometry when the last item is a format.
SVN revision: 75257
2012-08-14 12:40:41 +00:00
Carsten Haitzler 54650e7e56 fix font glyph issue when gl enignes shut down leaving font glyph data
for textures in the font core.



SVN revision: 75243
2012-08-14 08:31:59 +00:00
Mike Blumenkrantz 4d56b9f19d add docs to some evas event structs
SVN revision: 75236
2012-08-14 07:06:30 +00:00
Christopher Michael 419c817815 Evas (wayland_egl): More bug fixes & cleanups ! :)
When we create the egl window we should take rotation into
consideration, so account for that. Add an 'edges' variable to the
engine info structure. This is needed so we can implement resizing
windows from the top also. Make sure to use
wl_egl_window_get_attached_size and determine the edge we are resizing
from, so we can calculate the difference in sizes to send to
wl_egl_window_resize.

Add __UNUSED__ to function paramaters where it was missing, and fix
some compiler warnings.



SVN revision: 75215
2012-08-13 14:36:25 +00:00
Carsten Haitzler b51f30b082 fix async event fd after fork. pipe re-create
SVN revision: 75193
2012-08-13 08:52:23 +00:00
Eduardo de Barros Lima a9b622c534 Fix documentation typos
SVN revision: 75179
2012-08-12 23:34:54 +00:00
Carsten Haitzler 42860b89ad cleaning formats.
SVN revision: 75160
2012-08-12 04:18:44 +00:00
Carsten Haitzler bd1860ffcc finally found evas_map weirdness bug. CEDRIC code...! commit #74180.
now here's the rub. from the glibc manual page:

...
       int memcmp(const void *s1, const void *s2, size_t n);

DESCRIPTION
       The  memcmp()  function compares the first n bytes (each interpreted as
       unsigned char) of the memory areas s1 and s2.  It  returns  an integer
       less than, equal to, or greater than zero if s1 is found, respectively,
       to be less than, to match, or be greater than s2.
       
RETURN VALUE
       The memcmp() function returns  an  integer  less  than, equal  to,  or
       greater than zero if the first n bytes of s1 is found, respectively, to
       be less than, to match, or be greater than the first n bytes of s2.

...

this explicitly says that s1 and s2 have their BYTES compared... and
then returns just some value < 0, 0 or > 0 based on the difference. what
that value is and means is not defined, as long as it is < 0, 0 or > 0.

so the C standard has this to say:

6.3.1.3 Signed and unsigned integers

2. Otherwise, if the new type is unsigned, the value is converted by
repeatedly adding or subtracting one more than the maximum value that
can be represented in the new type until the value is in the range of
the new type.

so a result of -255 (possible) is converted by REPEATEDLY adding the
max size of the new type (255) until within range... so ...
-255 + 255 = 0 ... within range.. BUT FALSE!

so why do we see this now? something changed in memcpy behavior.
before we ONLY saw values of -1, 0 or 1 - nothing else, NOW we see
thins like:

-12288
49152
4096
16384
61440
-53248

so memcpy changed behavior, though within specs of the manual page
anyway, but now the values can be ones that break the simple assignment.



SVN revision: 75159
2012-08-12 04:17:42 +00:00
Christopher Michael e64e0a4534 Evas: When we render using the wayland engine(s), if the object we are
rendering is in fact the framespace clip, then do not allow it to be
clipped to itself, just skip the clip set for it.



SVN revision: 75100
2012-08-10 13:08:22 +00:00
Carsten Haitzler aef32ed6d3 more updates for 1.7.0 alpha.
SVN revision: 75095
2012-08-10 10:51:17 +00:00
Carsten Haitzler d101c4eddc theoretically this should fix alpha dest stuff in egl-x11... it
always worked oddly enough :)



SVN revision: 75086
2012-08-10 10:32:49 +00:00
Christopher Michael e2957462c8 Evas (wayland_egl): We don't have a visualinfo structure for the
window at this point, so we cannot use it for comparison. Instead,
check the requested depth. Also fix best_depth_get function to not
return a hard-coded depth if a depth has been set already.



SVN revision: 75082
2012-08-10 10:08:22 +00:00
Daniel Juyung Seo ee1517b58a evas Evas.h: Added more documentation.
SVN revision: 75028
2012-08-09 05:54:22 +00:00
Youness Alaoui 60800876c3 Evas: Use proper variable (gc->shared is set later on)
SVN revision: 75022
2012-08-08 23:35:58 +00:00
Carsten Haitzler 6cfcf9ef49 can't reproduce but try avoid possible alloc bug in native surface
handling.



SVN revision: 74993
2012-08-08 06:25:59 +00:00
Carsten Haitzler 20f5fcaa3e move comment to right bit.
SVN revision: 74981
2012-08-07 11:17:35 +00:00
Carsten Haitzler 6e0f9db089 lets not segv if src is null :)
SVN revision: 74978
2012-08-07 10:59:44 +00:00
Cedric BAIL 1284e077ad evas: don't clip the clipper.
SVN revision: 74974
2012-08-07 10:44:15 +00:00
Carsten Haitzler ce676a703d compile test... ceeeeedric!
SVN revision: 74972
2012-08-07 10:26:36 +00:00
Cedric BAIL 61c2345c55 evas: properly warn when linking object from different canvas.
SVN revision: 74968
2012-08-07 09:43:22 +00:00
Daniel Juyung Seo 2cefdbcec6 evas evas_object_smart.c: evas_object_smart_smart_get() does the exactly same check.
SVN revision: 74952
2012-08-07 00:57:09 +00:00
Gustavo Lima Chaves c343725133 [evas] Add forgotten magic checks on those iface functions.
SVN revision: 74948
2012-08-06 16:19:25 +00:00
Carsten Haitzler c601c066af move thinfo struct inot evas_pipe.c as its not needed elsewhere.
SVN revision: 74891
2012-08-06 00:22:31 +00:00
Carsten Haitzler c9f5e9d978 add missing fribidi flags to all engine modules.
SVN revision: 74889
2012-08-05 23:59:02 +00:00
Carsten Haitzler 38da638442 missing fribidi cflags in cache2.
SVN revision: 74872
2012-08-04 08:03:15 +00:00
Carsten Haitzler 4674438654 do fcfini now - it seesm to not be a problem with fc anymore
SVN revision: 74870
2012-08-04 04:34:49 +00:00
Carsten Haitzler 6d02ebcf28 leaks--!
SVN revision: 74868
2012-08-04 04:14:38 +00:00
Carsten Haitzler 6c079bcba6 dynamic texture path may have a segv issue... right jy? :) this should
fix it. try this patch. yay!



SVN revision: 74840
2012-08-03 10:42:24 +00:00
Stefan Schmidt 49caa43011 evas/canvas: Remove set but unused variable.
SVN revision: 74808
2012-08-02 16:05:49 +00:00
Sung Park d0b5d1e13e Fix evas_gl's internal resource surface bug. For optimzation evas_gl
was using evas' window surface to do its resource creation and it 
wans't properly updated when a window is destroyed and recreated.

Also, deleted some whitespaces. 


SVN revision: 74771
2012-08-02 01:15:38 +00:00
Christopher Michael 15a9aa0950 Evas: Fix evas build from botched copy/paste.
Apologies, I pasted the code in the wrong position :(



SVN revision: 74740
2012-08-01 14:32:26 +00:00
Christopher Michael 2a32afd20b Evas: Fix trying to clip objects to the framespace clip if the object
is going to be deleted. Patch from eduardo.de.barros.lime@intel.com.



SVN revision: 74739
2012-08-01 14:14:34 +00:00
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