Tue, 05 Apr 2011 09:47:34 -0700Fixed setting programmatically setting the size of a window on X11 for non-resizable windows.
Sam Lantinga <slouken@libsdl.org> [Tue, 05 Apr 2011 09:47:34 -0700] rev 5531
Fixed setting programmatically setting the size of a window on X11 for non-resizable windows.

Patch by Matthew Smaling

Tue, 05 Apr 2011 09:35:56 -0700Fixed bug 1173 (No mouse wheel event on linux/x11)
Sam Lantinga <slouken@libsdl.org> [Tue, 05 Apr 2011 09:35:56 -0700] rev 5530
Fixed bug 1173 (No mouse wheel event on linux/x11)

Matthias 2011-03-20 23:07:02 PDT

On X11, SDL 1.3 does not generate a mouse wheel event. Instead, button
down/buttton up events are generated by SDL. After looking at the code in
SDL_x11events.c, I assume this is due to the fact that X11 does not have a
dedicated mouse wheel event.

I did a little research on the behavior of mouse wheel events on X11 systems.
Apparently, mouse wheel events generate a button down/button up event with the
same time, i.e. with exact same timestamp.

Attached you can find my changes to SDL_x11events.c, which generates SDL mouse
wheel events for those button down events that have a button release event
immediately following it (for the same button, and with the same timestamp).

I did have to make an assumption: As standard X11 implementations know only 5
buttons, I have mapped Button4 to "wheel up" (i.e. +1), and Button5 to "wheel
down" (i.e. -1).

Note that if you include this patch, no SDL button down/up events will be
generated on X11 platforms for mouse wheel events (which is probably a
significant change for those that have programmed their code to work with
them).

Mon, 04 Apr 2011 23:38:15 -0400Some more iOS orientation rotation fixes.
Ryan C. Gordon <icculus@icculus.org> [Mon, 04 Apr 2011 23:38:15 -0400] rev 5529
Some more iOS orientation rotation fixes.

- Always use a UIViewController, even if window is not resizable.
- Let non-resizable windows still flip over, so user can hold device with the
correct orientation, but upside down, if that's more comfortable.
- Don't set the UIScreen unless we're forced to, as it resets some state.
- Minor correction with conventions for -[self init] tapdance.

Mon, 04 Apr 2011 09:29:13 -0700Added SDL_GetRenderer()
Sam Lantinga <slouken@libsdl.org> [Mon, 04 Apr 2011 09:29:13 -0700] rev 5528
Added SDL_GetRenderer()

Sun, 03 Apr 2011 18:33:32 -0500iOS: Correctly resize renderbuffers when rotating orientation.
Ryan C. Gordon <icculus@icculus.org> [Sun, 03 Apr 2011 18:33:32 -0500] rev 5527
iOS: Correctly resize renderbuffers when rotating orientation.

Fixes strange rendering after rotating the device.

Sun, 03 Apr 2011 18:24:27 +0700Move variable declaration position to stick with C standart.
Airlangga Cahya Utama <airlangga.cahya@gmail.com> [Sun, 03 Apr 2011 18:24:27 +0700] rev 5526
Move variable declaration position to stick with C standart.

Tue, 29 Mar 2011 03:05:26 -0700Fixed compile error.
Sam Lantinga <slouken@libsdl.org> [Tue, 29 Mar 2011 03:05:26 -0700] rev 5525
Fixed compile error.

Mon, 28 Mar 2011 23:44:51 -0700Filter out SDL_WINDOWEVENT_SIZE_CHANGED events too
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Mar 2011 23:44:51 -0700] rev 5524
Filter out SDL_WINDOWEVENT_SIZE_CHANGED events too

Mon, 28 Mar 2011 20:56:28 -0700Make sure the resize event gets through
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Mar 2011 20:56:28 -0700] rev 5523
Make sure the resize event gets through

Mon, 28 Mar 2011 20:33:41 -0700Backed out changeset ef550bdb8c1b
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Mar 2011 20:33:41 -0700] rev 5522
Backed out changeset ef550bdb8c1b