Commit Graph

18651 Commits

Author SHA1 Message Date
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