Commit Graph

18623 Commits

Author SHA1 Message Date
Bruno Dilly 3c27a0288d EPhysics: fix updating bodies with evas object without
geometry

If a evas object associated to a body don't have w or h, don't
try to apply map / rotation on it.



SVN revision: 75229
2012-08-13 22:24:36 +00:00
Bruno Dilly 1de398ce60 EPhysics: add camera move event
SVN revision: 75228
2012-08-13 22:24:28 +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
Christopher Michael a5df8468b0 Ecore_Evas (wayland): Fix ecore_evas egl windows to properly resize
from the top when asked too (this is akin to the wayland_shm resize
fix). Also, when we update the ecore_wl_window size, we
should be sure to call the buffer attach function so that server size
allocation can be kept in sync with the window allocation.



SVN revision: 75214
2012-08-13 14:33:05 +00:00
Christopher Michael 1b96e67e75 Ecore_Wayland (egl): Update server allocation when window allocation
changes.



SVN revision: 75213
2012-08-13 14:30:58 +00:00
Mike Blumenkrantz dc2f7beced patch from vtorri fixing rare segv condition in main loop
SVN revision: 75206
2012-08-13 10:32:20 +00:00
Carsten Haitzler fe00bc661a extend ecore fork infra to handle pipe re-create afetr fork for
ecore-evas.



SVN revision: 75194
2012-08-13 08:52:45 +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
Mike Blumenkrantz 8e4c27cbf7 windows warning--
this commit brought to you by VRC: Vtorri Remote Commits


SVN revision: 75190
2012-08-13 07:53:24 +00:00
Christopher Michael ce9a78d790 Edje: Remove unused variable.
SVN revision: 75185
2012-08-13 06:44:56 +00:00
Carsten Haitzler 76da2e26e1 formatting.
SVN revision: 75184
2012-08-13 02:55:41 +00:00
Carsten Haitzler e0a3ec5fe5 warning--
SVN revision: 75183
2012-08-13 02:54:57 +00:00
Carsten Haitzler b3c7aa388b docs + @since for ecore_fork()
SVN revision: 75182
2012-08-13 02:53:48 +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
Carsten Haitzler c0d4732927 rever part of stefan's coverage patch - not related to the other bits
and yes.. wrong :)



SVN revision: 75158
2012-08-12 02:40:49 +00:00
Bruno Dilly 5088b6bb93 EPhysics: add test using different shapes
Position / size looks buggy.
Need to be fixed.



SVN revision: 75153
2012-08-10 21:05:28 +00:00
Bruno Dilly 031d47d1a9 EPhysics: support bodies with generic shapes
Using EPhysics Shape.



SVN revision: 75152
2012-08-10 21:05:19 +00:00
Bruno Dilly 6c53875522 EPhysics: add EPhysics Shape
It will be used to create bodies with collision shapes other
than boxes or circles.

For now, only convex shapes.



SVN revision: 75151
2012-08-10 21:05:13 +00:00
Bruno Dilly 2497491440 EPhysics: move code duplication to _ephysics_body_add
Also, add missing checks.



SVN revision: 75150
2012-08-10 21:05:05 +00:00
Bruno Dilly fd6a61ed22 EPhysics: update images
Remove unused and add new images



SVN revision: 75149
2012-08-10 21:04:51 +00:00
Bruno Dilly 33613b8f09 EPhysics: Avoid garbagge in cb objects.
SVN revision: 75148
2012-08-10 21:04:42 +00:00
Bruno Dilly 9eb298827c EPhysics: optimization and fixes for camera
Avoid calling update of inactive bodies if camera didn't really
moved.

And update them if camera_position_set is called.



SVN revision: 75147
2012-08-10 21:04:35 +00:00
Bruno Dilly 1de4a67ca0 EPhysics: fix world event callbacks management
SVN revision: 75146
2012-08-10 21:04:22 +00:00
Bruno Dilly fb7528829b EPhysics: avoid invalid read / writes on world free
Looks like we'll need to fix discrete dynamics world destructor
on bullet, but current revision is kind of messed.
I'll see what I can do later.

And yes, it will leak the ddw until it's fixed.



SVN revision: 75145
2012-08-10 21:04:16 +00:00
Bruno Dilly cf6678bbd4 EPhysics: improving body's event callbacks management
SVN revision: 75144
2012-08-10 21:04:08 +00:00
Bruno Dilly 73e77dff26 EPhysics: fix sleeping threshold getter
SVN revision: 75143
2012-08-10 21:03:57 +00:00
Bruno Dilly e1036529b3 EPhysics: re-write sleeping threshold test
It was buggy.



SVN revision: 75142
2012-08-10 21:03:47 +00:00
Bruno Dilly 2d2844d05e EPhysics: properly handle body delete
SVN revision: 75141
2012-08-10 21:03:39 +00:00
Bruno Dilly 0bd1f327a4 EPhysics: properly handle world delete
SVN revision: 75140
2012-08-10 21:03:29 +00:00
Bruno Dilly 4d800075e7 EPhysics: use inlist for world's bodies list
SVN revision: 75139
2012-08-10 21:03:06 +00:00
Bruno Dilly 595e8c8195 EPhysics: use inlist for worlds list
SVN revision: 75138
2012-08-10 21:03:01 +00:00
Bruno Dilly d432a4faba EPhysics: Add test exposing delete issues
Callbacks and bodies delete are not correctly handled.



SVN revision: 75137
2012-08-10 21:02:56 +00:00
Bruno Dilly af1351f172 EPhysics: fix camera track test
SVN revision: 75136
2012-08-10 21:02:48 +00:00
Bruno Dilly 8973043481 EPhysics: camera test improved
Show how a moving background could be used with the concept of
camera.



SVN revision: 75135
2012-08-10 21:02:39 +00:00
Bruno Dilly bc2d36257f EPhysics: don't show background box on camera tests
SVN revision: 75134
2012-08-10 21:02:25 +00:00
Jihoon Kim 6775a71abd fix version in NEWS of ethumb, eio, emotion
SVN revision: 75111
2012-08-10 14:33:29 +00:00
Jihoon Kim db6564c2f7 eina: fix version in NEWS
SVN revision: 75110
2012-08-10 14:06:09 +00:00
Jihoon Kim 1f6c6958ed efreet: fix version in NEWS
SVN revision: 75107
2012-08-10 14:01:54 +00:00
Jihoon Kim c143ca0c42 edje: fix version in NEWS
SVN revision: 75106
2012-08-10 14:01:08 +00:00
Jihoon Kim 7d5113b09f evas: fix version in NEWS
SVN revision: 75105
2012-08-10 14:00:21 +00:00
Jihoon Kim 2ad1f0b52b ecore: fix version in NEWS
SVN revision: 75104
2012-08-10 13:57:13 +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 b8cc507c80 fix passthrough getenv for eina mempool in ecore too.
SVN revision: 75099
2012-08-10 12:50:09 +00:00
Carsten Haitzler 78ca67dfd0 fix eina_mempool env var fetch for eet alloc mode.
SVN revision: 75098
2012-08-10 12:42:08 +00:00
Carsten Haitzler 64a7ed822d update more po's
SVN revision: 75097
2012-08-10 11:03:50 +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 802e33460a more po update for ecore.
SVN revision: 75094
2012-08-10 10:50:51 +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