Commit Graph

5678 Commits

Author SHA1 Message Date
Christopher Michael 805d333284 Evas_GL: Fix kakaroto's breakage in evas_gl. GL_WRITE_ONLY is only
defined in GL/glext.h (which is not included if we are building for
SGX). A build for SGX uses EGL which defines GL_WRITE_ONLY_OES instead.

NB: I am not entirely sure that this is the 'proper' fix, but it
allows evas to build again.



SVN revision: 76540
2012-09-12 16:05:02 +00:00
Mike Blumenkrantz 86e07547f1 add null checks to WebPDecodeBGRA() returns in webp loader
SPANK SPANK, IGOR!


SVN revision: 76521
2012-09-12 12:13:08 +00:00
Tom Hacohen d9dae5b06b Evas: Fixed compilation with old fontconfig.
This fixes ticket #1500 by Sleep_Walker.

SVN revision: 76520
2012-09-12 11:55:45 +00:00
Youness Alaoui 49e4b498a2 Evas : Use server based buffers for vertices instead of client buffers
Implement a auto-free system of the allocated buffers to avoid using
resources that we may not need anymore.

SVN revision: 76490
2012-09-12 06:19:50 +00:00
Mike Blumenkrantz 9615e7bc4c formatting
seriously, who breaks this shit?


SVN revision: 76455
2012-09-11 11:43:17 +00:00
Carsten Haitzler 80dbe14ea8 really minor improvement - detect llvmpipe as a software renderer and
blacklist it. :)



SVN revision: 76344
2012-09-08 14:31:18 +00:00
ChunEon Park 74f1f5eed1 evas/gl_common - simpler code
SVN revision: 76289
2012-09-07 08:31:19 +00:00
Carsten Haitzler 921b861f6f fix evas map leak.
SVN revision: 76286
2012-09-07 08:02:32 +00:00
Carsten Haitzler ee49da7665 fix image alpha set bug.
SVN revision: 76277
2012-09-07 05:57:22 +00:00
Carsten Haitzler 86d35c3ca0 really minor fix - to invalidate cache on memfile set.. set to not has
cur alpha then the cur alpha flag! :)



SVN revision: 76275
2012-09-07 05:27:55 +00:00
Tom Hacohen 06cc2874ef Evas textblock: Fix a small stringshare leak.
I don't know how this got in. Anyhow, stringshare leaks are hard to spot.

SVN revision: 76197
2012-09-05 13:25:12 +00:00
Tom Hacohen 5f54cc0b2d Evas textblock: Fixed format nodes updates for because of style changes.
Thanks a lot to Bluezery for reporting this issue.

SVN revision: 76195
2012-09-05 13:02:37 +00:00
Tom Hacohen 57269364d9 Evas magic: Added compiler hints (EINA_UNLIKELY).
SVN revision: 76194
2012-09-05 13:02:33 +00:00
Carsten Haitzler 79045b88db fix rgab dest alpha rendering issue
SVN revision: 76188
2012-09-05 10:11:48 +00:00
Cedric BAIL bffbe552fc evas: don't change the value of event. That break ABI !
SVN revision: 76186
2012-09-05 09:56:24 +00:00
ChunEon Park f7f9341419 evas/evas_object_image - added EVAS_CALLBACK_IMAGE_RESIZE.
SVN revision: 76161
2012-09-05 04:20:42 +00:00
Eduardo de Barros Lima e44d6633a3 Formatting
SVN revision: 76144
2012-09-04 20:38:09 +00:00
Eduardo de Barros Lima 904e2096f4 Wayland_egl: NULL checks to avoid crash with invalid re->win
SVN revision: 76135
2012-09-04 18:27:29 +00:00
ChunEon Park 36df225438 evas/image - my fault. this shouldn't be commented.
SVN revision: 76126
2012-09-04 11:24:40 +00:00
ChunEon Park afc8644e36 evas/evas_object_image - use Eina_Bool
SVN revision: 76115
2012-09-04 08:56:46 +00:00
ChunEon Park c368c8c27b evas/evas_object_image - clean the code
SVN revision: 76114
2012-09-04 08:42:38 +00:00
Christopher Michael 5f704dd0bc Evas: Update ChangeLog for Vince ;)
SVN revision: 75995
2012-09-03 10:22:19 +00:00
Carsten Haitzler 0e77364887 update header #defined versions to 1.8 to make sure new apis are used
in e17 only with ifdefs.



SVN revision: 75994
2012-09-03 09:55:34 +00:00
Christopher Michael 90a436ca0c Evas: When doing a move or geometry_get, we need to make sure that we
don't try to do these on the framespace clip object. Also, since we
need the evas to get the framespace clip object, just directly use the
framespace values from the canvas, rather than function call to get
those values.



SVN revision: 75989
2012-09-03 09:41:01 +00:00
Christopher Michael cbedd76a1f Evas: In the render stage, check obj->is_frame directly. No need for
another function call here. We have to object already available, just
check the property directly.



SVN revision: 75980
2012-09-03 08:50:40 +00:00
Igor Murzov e42648154f From: Igor Murzov <e-mail@date.by>
Subject: [E-devel] [PATCH][RESEND][Evas] WebP image loader

This patch adds a WebP image loader to Evas. No saver,
no animation support for now, just loader. Tested with
the libwebp-0.2.0 only, but should work fine with older
versions.



SVN revision: 75951
2012-09-03 06:22:59 +00:00
Vincent Torri 0854fe7aba Evas: Fix seg fault in the esvg loader, latest code is required, and enable it on Windows.
SVN revision: 75942
2012-09-02 18:20:35 +00:00
Gustavo Lima Chaves 388a888eeb [evas] Document weight hints' defaults.
SVN revision: 75926
2012-08-31 21:48:27 +00:00
Gustavo Lima Chaves ca29c68dc2 [evas] Document alignment hints' defaults.
SVN revision: 75925
2012-08-31 21:41:49 +00:00
Christophe Sadoine 0c2ecd5c1b From: Christophe Sadoine <chris@indefini.org>
Subject: [E-devel] [patch] A function to rotate an evas map with a
quaternion

So this is a patch to rotate an evas map with a quaternion.
You can use this to avoid gimbal lock... for example in the elementary
evas map 3d test, if you put the Rot y angle to 90 then Rot x and Rot
z will do the same rotation...



SVN revision: 75920
2012-08-31 07:05:48 +00:00
Cedric BAIL 0008f2362f ChangeLog: back in time.
SVN revision: 75875
2012-08-30 11:26:00 +00:00
Cedric BAIL 5e33eaa6c4 ChangeLog: state we did a release.
SVN revision: 75873
2012-08-30 10:55:40 +00:00
Carsten Haitzler d22ca53faa and up ver to 1.7.99 now in svn. nack to svnrev num at end.
SVN revision: 75869
2012-08-30 10:34:01 +00:00
Christopher Michael d8d45e5808 Evas: Update ChangeLog.
SVN revision: 75827
2012-08-29 12:58:33 +00:00
Christopher Michael 871a47258d Evas (wayland_egl): Add support for Multi-Sample Anti-Aliasing and GL
Direct Images. Add support for using native image binding. Add support
for setting GL surface capabilities. Fix up some overrides to be in
the proper place (glsym vs evgl).

NB: Yes, it is a bit large of a change during freeze, but there are no
API changes here, and it is well tested. Nothing broken (beyond what
was already broken).



SVN revision: 75826
2012-08-29 12:55:51 +00:00
ChunEon Park 7322487bd2 evas/gl - don't crushed up when failed to allocate surface.
SVN revision: 75748
2012-08-28 05:59:27 +00:00
Carsten Haitzler 6335870b45 no this isnt release - this is simply me removing the beta tag so when
we release it's ready.



SVN revision: 75740
2012-08-27 10:24:41 +00:00
Carsten Haitzler 1475fb3586 update @version's
SVN revision: 75739
2012-08-27 09:51:57 +00:00
Tom Hacohen e230b6f9a2 Evas textblock: Make sure scale changes causes a complete recalc.
SVN revision: 75733
2012-08-27 09:05:29 +00:00
Jiyoun Park 4c7a23d21e fix jpeg loader to decode JFIF format.
before, if the jpeg format is JFIF, we cannot get orientation. 
currently jpeg loader get orientation from file


SVN revision: 75707
2012-08-26 11:22:55 +00:00
Tom Hacohen 77997affda Evas: Revert "Evas: tabs --> spaces"
Lets wait until after the code freeze is over and people apply their
patches, otherwise it'll be hellish.
This reverts commit 75632

SVN revision: 75704
2012-08-26 07:04:46 +00:00
Rafael Antognolli be7953b243 evas/render: Add a flag for dropping the map cache if needed.
The map cache must be dropped if the content of the surface is rendered again.
The example evas-smart-object.c has a valid test case for this bug.



SVN revision: 75636
2012-08-23 19:58:02 +00:00
Rafael Antognolli cc2ec4105b evas/examples: Add map to the smart object example.
Rotating the smart object with map, adding a rectangle as child, and then
rotating it again will expose a bug on mapped smart objects: it's mapped
surface will be reused from cache, instead of flagged as dirty and discarded.



SVN revision: 75635
2012-08-23 19:49:48 +00:00
Vincent Torri 681fdbc351 Evas: tabs --> spaces
SVN revision: 75632
2012-08-23 15:48:37 +00:00
Tom Hacohen a1687ca4b9 Evas: Started using EVAS_GENERAL_CFLAGS/LIBS 2 vars to rule them all.
Instead of going all over the place and adding cflags to many different
Makefiles, now you just need to update these 2 vars.

SVN revision: 75619
2012-08-23 11:32:38 +00:00
Tom Hacohen 9848db657a Evas textblock: Fixed bug in evas_textblock_cursor_word_start.
Fixed bug with 1 char word separators at the start of the
text when going to the start of the word (e.g: =test).

Reported by Thiep Ha. Thanks a lot.

SVN revision: 75595
2012-08-23 07:03:18 +00:00
Eduardo de Barros Lima bacdd1ae11 canvas: Fix event framespace adjustment
Complements fix in r75545



SVN revision: 75555
2012-08-22 14:53:45 +00:00
Christopher Michael 5c5c1da5fb Evas: Integrate patch from Robert Bradford which makes the framespace
adding and subtracting consistent. Fixes ticket #1295.



SVN revision: 75545
2012-08-22 12:41:44 +00:00
ChunEon Park 25255b9409 evas/gl_x11 - one is enough
SVN revision: 75503
2012-08-21 11:57:48 +00:00
ChunEon Park e99f70901f evas/gl_x11 - more simple code
SVN revision: 75502
2012-08-21 11:37:02 +00:00
ChunEon Park 38fa83ebf4 evas/gl_x11 - trivial changes
fix indent, remove white spaces



SVN revision: 75501
2012-08-21 11:32:18 +00:00
Cedric BAIL 3ec12202f9 evas: put back the test on dead object in the right way.
SVN revision: 75492
2012-08-21 08:41:02 +00:00
Sung Park d1eea33285 Fix evas_gl current_context update issue when evas_gl context is deleted.
SVN revision: 75490
2012-08-21 07:42:08 +00:00
Sung Park f4d20be0c2 Fixed compiler warning messages in gl_x11 evas_engine for evas_gl.
SVN revision: 75488
2012-08-21 07:28:39 +00:00
ChunEon Park a9593bd3fa evas/gl - removed unnecessary lines which causes the resource leak and corruption
SVN revision: 75463
2012-08-20 12:37:22 +00:00
Tom Hacohen 05136cc824 Evas textblock: Reverted my last commit and added WooHyun's instead.
They were pretty similar, but I think WooHyun's was better.
Thanks to WooHyun for the patch.

SVN revision: 75461
2012-08-20 11:05:48 +00:00
Tom Hacohen ba506122e1 Evas textblock: Fixed range geometry with 1 format at the eol.
Fixed an issue with range geometry when we are getting the geometry of only
the last format of a line.

SVN revision: 75460
2012-08-20 11:00:16 +00:00
Carsten Haitzler df46cb5bd2 dont skip objects mark with elete_me flags. inf loop.
SVN revision: 75413
2012-08-18 12:44:01 +00:00
Rui Seabra 5daa1a432a Update rpm specs
SVN revision: 75404
2012-08-18 08:22:34 +00:00
Carsten Haitzler 991377f05a imgs src set as null is ok - unset proxy.
SVN revision: 75403
2012-08-18 07:28:26 +00:00
Carsten Haitzler 5a27065b81 long standing patch/bug for \r systems text conversion to markup.
http://trac.enlightenment.org/e/ticket/293



SVN revision: 75402
2012-08-18 07:02:16 +00:00
Carsten Haitzler 38c85ab9ab actually imho these 2 are warning ones only.
SVN revision: 75395
2012-08-18 00:37:54 +00:00
ChunEon Park 63b7df8111 evas - updated changelog
SVN revision: 75383
2012-08-17 11:30:20 +00:00
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
Carsten Haitzler 497af2e1e4 tag as beta...
SVN revision: 75344
2012-08-17 03:57:49 +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
Carsten Haitzler d91c5bc76f update README
SVN revision: 75299
2012-08-16 00:53:31 +00:00
Carsten Haitzler c27e15df0b update readme on svg change.
SVN revision: 75298
2012-08-16 00:40:17 +00:00
Carsten Haitzler 0f67b6e905 indeed spec file out of date.
SVN revision: 75297
2012-08-16 00:38:58 +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
Jihoon Kim 7d5113b09f evas: fix version in NEWS
SVN revision: 75105
2012-08-10 14:00:21 +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 1e2cbe8e7d alpha release of 1.7 - let's roll. ALPHA!
SVN revision: 75091
2012-08-10 10:37:05 +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
Carsten Haitzler 27cd00c7f7 fix distcheck issue.
SVN revision: 75080
2012-08-10 10:05:48 +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
Cedric BAIL 49510f9f7f evas: forgotten ChangeLog and NEWS.
Missing Vincent so much !


SVN revision: 74979
2012-08-07 11:03:32 +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
Cedric BAIL a85e67559e evas: remove left over options.
SVN revision: 74954
2012-08-07 03:48:51 +00:00