Commit Graph

18528 Commits

Author SHA1 Message Date
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
Christopher Michael 89fe05d03a Ecore_Wayland: Add some trapping to make sure we have a valid window
before trying to read a window id.



SVN revision: 75374
2012-08-17 08:52:35 +00:00
Vincent Torri 4c78dfadae Ecore: fix error message
SVN revision: 75364
2012-08-17 07:59:36 +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
Carsten Haitzler 11e2a3667c po updates
SVN revision: 75343
2012-08-17 03:57:37 +00:00
Carsten Haitzler 4ab87861b6 po updates.
SVN revision: 75342
2012-08-17 03:57:18 +00:00
Bruno Dilly b5221d0705 EPhysics: fix old bug on velocity setter
It should invert y component since evas y coords increase
going down.



SVN revision: 75337
2012-08-16 21:35:31 +00:00
Bruno Dilly b007921b94 EPhysics: add test for windows resize
It listen for windows resize and changes objects size,
world render geometry and world rate.



SVN revision: 75336
2012-08-16 21:35:25 +00:00
Bruno Dilly a3f12a0ae0 EPhysics: fix rate set implementation
Update everything that depends on rate:
 - worlds
 - bodies
 - constraints



SVN revision: 75335
2012-08-16 21:35:20 +00:00
Bruno Dilly 8b5737d2df EPhysics: make it possible to recalculate gravity
SVN revision: 75334
2012-08-16 21:35:14 +00:00
Bruno Dilly 3fe6e1dc40 EPhysics: constraint recalc
Just making it possible to fix world rate set.
This code will be modified when all constraints are added as generic
and modified later.



SVN revision: 75333
2012-08-16 21:35:09 +00:00
Bruno Dilly 44aeda07ae EPhysics: implement body recalc
SVN revision: 75332
2012-08-16 21:35:04 +00:00
Bruno Dilly 1328120089 EPhysics: small fix on body docs
SVN revision: 75331
2012-08-16 21:34:59 +00:00
Bruno Dilly eff2ac3302 EPhysics: add test displaying body acceleration
Linear and angular.

It has to be done on user side, since it requires to keep previous
velocity to calculate it.

I'll expose forces later but I don't think it would be enough
because impulses just modifies the ammount of velocity directly,
it doesn't create a force for a tick or something like that.

So velocity changes caused by impulse wouldn't be get as acceleration.



SVN revision: 75330
2012-08-16 21:34:54 +00:00
Bruno Dilly 50413abfc9 EPhysics: drop camera zoom
Reasons:
 - we don't have previewed cases for that (would be code to be implemented
         and maintained without use)
 - can be done on user side changing world rate, camera position, objects size



SVN revision: 75329
2012-08-16 21:34:49 +00:00
Bruno Dilly ebf3a282fb EPhysics: delete constraints if world is deleted
SVN revision: 75328
2012-08-16 21:34:44 +00:00
Bruno Dilly 405c5affa1 EPhysics: fix constraint angular limit type
SVN revision: 75327
2012-08-16 21:34:39 +00:00
Bruno Dilly ab877d4d23 EPhysics: small fixes on sleeping threshold docs
SVN revision: 75326
2012-08-16 21:34:34 +00:00
Bruno Dilly 7a759f05b6 EPhysics: support running only specified test
SVN revision: 75325
2012-08-16 21:34:29 +00:00
Christopher Michael 1278ec57bf Ecore_Wayland: If user tries to set a cursor name, but this cursor
does not exist in the current theme, then fallback to default left
pointer image.



SVN revision: 75315
2012-08-16 09:53:05 +00:00
Christopher Michael bdfd355e38 Ecore_wayland: Add a FIXME note to be tackled later.
SVN revision: 75314
2012-08-16 09:46:26 +00:00
Christopher Michael 6423de3f17 Ecore_Wayland: Fix always resetting the wayland pointer surface to
default when we get a mouse move. Now we will store the current
cursor, so it can be restored later (this is part of a bug fix for
#1293).



SVN revision: 75312
2012-08-16 09:37:52 +00:00
Christopher Michael cde4673abe Ecore_Wayland: Add alpha field to window structure, add cursor_name to
input structure.

These are required for fixes to _set_alpha/transparent, and upcoming
cursor fixes.



SVN revision: 75311
2012-08-16 09:35:41 +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 be452d83c9 Ecore_Evas (wayland): Do not allow windows to be resized below their
desired min/max properties. Fixes ticket #1244



SVN revision: 75308
2012-08-16 08:03:20 +00:00
Christopher Michael fb2819c4fd Ecore_Evas (wayland_shm): Fix toggling alpha and transparent state on and off.
When we are using alpha, we need to create the buffer using ARGB so we
will destroy the old buffer and recreate with the new alpha format
because currently all windows are created using XRGB8888 by default.



SVN revision: 75307
2012-08-16 07:29:37 +00:00
Christopher Michael 1e3e3a3985 Ecore_Evas (wayland_egl): Add fullscreen support for wayland_egl
engine (same changes as previous fullscreen support for wayland_shm).



SVN revision: 75306
2012-08-16 07:21:38 +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 7a90ffb3b6 Ecore_Wayland: Fix ticket 1252 and stop segfaulting when we don't have
a keyboard or pointer interface available for drag-n-drop.



SVN revision: 75295
2012-08-15 14:01:20 +00:00
Christopher Michael eb016fe9ad Ecore_Evas (wayland_shm): Fullscreen mode bug fixes
Only take min & max properties into account if the window is not fullscreen. 

Be sure to call update_size before we attach the buffer, as the buffer attach 
code makes use of the allocated size to damage the surface.

Add trapping for fullscreen window in the configure callback. This
(along with coming commits) allows us to actually do fullscreen now :)

During window configure, when we check for maximized, we should check
to be sure it is not fullscreen also before adjusting window size.



SVN revision: 75293
2012-08-15 10:55:35 +00:00
Christopher Michael 5e84f194e6 Ecore_Wayland: Only set the window allocated size if it is not a
fullscreen window. On a configure event, do not reset the allocated
size (this will be calculated and set later).



SVN revision: 75292
2012-08-15 10:02:22 +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
Daniel Juyung Seo 30abba2a9c eina: Use more @note notation. Fixed more wrong documentation.
SVN revision: 75280
2012-08-15 04:32:05 +00:00
Daniel Juyung Seo 206edf4538 eina eina_stringshare.h: Use @note instead of just saying 'Note that ...'. Thanks vtorri.
SVN revision: 75279
2012-08-15 04:26:06 +00:00
Daniel Juyung Seo a7372f8cb5 eina eina_stringshare.c: Fixed formatting while reading the code.
SVN revision: 75278
2012-08-15 04:17:37 +00:00
Daniel Juyung Seo 0a1f4d03db eina eina_stringshare.h: Fixed wrong documentation pointed out by Ryuan.
SVN revision: 75277
2012-08-15 04:14:24 +00:00
Lucas De Marchi a7aae39c23 eina: news + changelog
SVN revision: 75273
2012-08-14 21:11:53 +00:00
Lucas De Marchi 82ee083b25 eina: add EINA_SENTINEL to help use of variadic functions
Certain types of variadic functions use NULL as the last argument instead of a
string format (printf-like). Functions like these are: execl and execlp.

We are in feature freeze, but I believe this is small and simple enough to slip
in with no headaches. These functions are being used in the new edbus library
and it would be good to have it supported in eina now.



SVN revision: 75271
2012-08-14 20:58:36 +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
ChunEon Park b11b7c3ac4 edje - fixe the uv mapping correctly in case of image swallowed case
SVN revision: 75241
2012-08-14 08:04:06 +00:00
ChunEon Park 91bdc844fc edje - clean up the code
SVN revision: 75240
2012-08-14 07:59:06 +00:00
Mike Blumenkrantz 4d56b9f19d add docs to some evas event structs
SVN revision: 75236
2012-08-14 07:06:30 +00:00
Carsten Haitzler a86dcabd5e avoid potential deadlock if the same canvas has the 2 plugs pointing
to the SAME socket. :) nasteeeeh.



SVN revision: 75234
2012-08-14 06:29:17 +00:00
Carsten Haitzler 61ba84e86d small theoretical oopsie waiting to happen - won't ever, but guar
against it anyway.



SVN revision: 75232
2012-08-14 06:11:32 +00:00
Carsten Haitzler e78b572443 missing ecore_init in ecore_input.
SVN revision: 75231
2012-08-14 04:47:54 +00:00
Bruno Dilly ae28b7a504 EPhysics: listen for associated evas object resize event
So physics body will resize together.



SVN revision: 75230
2012-08-13 22:24:47 +00:00
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