Commit Graph

1969 Commits

Author SHA1 Message Date
Daniel Zaoui a01418aff8 eo: changes made for the support of the Eo concept
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 77604
2012-10-09 01:58:41 +00:00
Mike Blumenkrantz 8501f2111a probably the best commit I'll ever make: evas_object_del() now takes NULL parameter without bitching
SVN revision: 77344
2012-10-03 06:59:20 +00:00
Jiyoun Park 7d2ced81f6 add evas object display mode hint
this hint can be used when user want to notify
and change object size hint(display mode)
like compress(example, keyboard show and object need to be compressed)
and etc.


SVN revision: 77136
2012-09-27 08:54:54 +00:00
Carsten Haitzler 2a06a94b1e add new evas device api. it is a STARt right now, and liable to
change, thus no docs at this time, but ready for them.



SVN revision: 76752
2012-09-17 10:12:48 +00:00
Rafael Antognolli 64b4e6af09 evas/render: Fix typo: DGB -> DBG.
SVN revision: 76553
2012-09-12 19:00:23 +00:00
Rafael Antognolli bc3f053287 evas/render: Move REND_DGB macro to evas_private.h.
This will make it easier to enable it, since the changes to
evas_render_mapped signature will can be done everywhere, not only
inside evas_render.c.



SVN revision: 76552
2012-09-12 19:00:16 +00:00
Rafael Antognolli ce85aa2b48 evas/render2: Fix check to drop previous map from cache.
SVN revision: 76551
2012-09-12 18:36:15 +00:00
Rafael Antognolli 94732fddd9 evas/render: Clean all changed objects, not only the
active ones.
Objects which are children of mapped smart objects are not in the active
objects list, but should still be cleaned, and have their render_post
method called too.



SVN revision: 76550
2012-09-12 18:36: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
Mike Blumenkrantz 9615e7bc4c formatting
seriously, who breaks this shit?


SVN revision: 76455
2012-09-11 11:43:17 +00:00
Carsten Haitzler 921b861f6f fix evas map leak.
SVN revision: 76286
2012-09-07 08:02:32 +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
ChunEon Park f7f9341419 evas/evas_object_image - added EVAS_CALLBACK_IMAGE_RESIZE.
SVN revision: 76161
2012-09-05 04:20:42 +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 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
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
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
Tom Hacohen e230b6f9a2 Evas textblock: Make sure scale changes causes a complete recalc.
SVN revision: 75733
2012-08-27 09:05:29 +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
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
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
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
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 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
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 b51f30b082 fix async event fd after fork. pipe re-create
SVN revision: 75193
2012-08-13 08:52:23 +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 20f5fcaa3e move comment to right bit.
SVN revision: 74981
2012-08-07 11:17:35 +00:00