|
29dfdd1e
|
2013-08-21T10:13:12
|
|
More fixes for -Wdeclaration-after-statement
|
|
2490166d
|
2013-08-21T10:12:16
|
|
Fixes for -Wdeclaration-after-statement
|
|
1e49b1ed
|
2013-08-21T09:47:10
|
|
OCD fixes: Adds a space after /* (glory to regular expressions!)
|
|
695344d1
|
2013-08-21T09:43:09
|
|
OCD fixes: Adds a space before */
|
|
3984c7d8
|
2013-08-20T23:20:32
|
|
Actually, this should be a memcpy().
We already know the exact length we just allocated, and we plan to append
our own null terminator to the end of the copy, so this makes more sense.
|
|
9ff379ba
|
2013-08-20T21:21:57
|
|
Patched to compile on iOS.
|
|
fb7a0291
|
2013-08-20T20:39:22
|
|
More Haiku fixes.
|
|
24006be2
|
2013-08-20T20:31:57
|
|
Fixed compiler warning.
|
|
ad8aa33b
|
2013-08-20T20:29:30
|
|
More Windows fixes for filesystem code.
|
|
c9152adc
|
2013-08-20T20:15:15
|
|
Patched new filesystem code to compile.
|
|
2dd7091e
|
2013-08-20T19:57:11
|
|
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
|
|
552b04c5
|
2013-08-20T20:34:40
|
|
More non C89 compliant comments
|
|
63fe3a77
|
2013-08-20T19:49:24
|
|
Fixes a few non C89 compliant comments
|
|
e43ff8fb
|
2013-08-20T12:43:06
|
|
Added some FIXMEs for later.
|
|
0eeb76d8
|
2013-08-19T16:29:46
|
|
Fixes bug #2037, common EGL code for Android and X11
|
|
b4426769
|
2013-08-19T11:02:44
|
|
Fixed leaking of pixel shader object in D3D renderer (thanks, Peter!).
Fixes Bugzilla #2047.
|
|
c2a29aed
|
2013-08-18T22:05:53
|
|
Fixed Haiku build (thanks Alexander!)
|
|
7e3b7dbc
|
2013-08-17T20:46:34
|
|
Patched to compile with Visual Studio.
|
|
1455a947
|
2013-08-17T17:14:15
|
|
Fixed Windows build
|
|
d7817f42
|
2013-08-17T17:04:14
|
|
Fixed for consistency with the other platforms
|
|
e187810e
|
2013-08-17T18:07:29
|
|
auto init the ticks if the GetTicks and the like methods are called before SDL_Init().. This prevents annoying game bugs such as caching SDL_GetPerformanceFrequency in a static initializer
|
|
6995ff18
|
2013-08-17T09:54:30
|
|
Do full state initialization in D3D_Reset(), this fixes blend mode issues when resizing the window on Windows 8.
|
|
9ab14aa5
|
2013-08-16T17:50:44
|
|
Fixed windows build
|
|
ff77ca8d
|
2013-08-16T15:38:06
|
|
The keyboard text events should be sent after the key down events
|
|
b4b12d95
|
2013-08-16T15:35:10
|
|
Fixed bug 1876 - SDL_TEXTINPUT only returns '?' (0x3F) in event.text.text with Khmer language input
Andreas
The issue comes down to this line on MSDN:
"TranslateMessage produces WM_CHAR messages only for keys that are mapped to ASCII characters by the keyboard driver."
"WM_KEYDOWN and WM_KEYUP combinations produce a WM_CHAR or WM_DEADCHAR message. WM_SYSKEYDOWN and WM_SYSKEYUP combinations produce a WM_SYSCHAR or WM_SYSDEADCHAR message."
Except for WM_CHAR, none of these messages are used in SDL. Hence TranslateMessage should be dropped entirely and proper handling be included in the WM_KEYDOWN event.
Currently TranslateMessage is called for every message even if it must not be called in certain cases (like "An application should not call TranslateMessage if the TranslateAccelerator function returns a nonzero value.").
WM_CHAR message handling should remain for external processes posting these messages - additionally, WM_UNICHAR should be added.
I made a patch for src/video/windows/SDL_windowsevents.c that seems to work fine. It doesn't solve the "missing" composition for Khmer, but at least input for languages that cannot be mapped to ASCII characters (and for which IME is not used) will now work on Windows.
|
|
bb2671b7
|
2013-08-16T14:38:04
|
|
Android quirk:Some devices don't report GL_OES_framebuffer_object but support it
|
|
4cb0ead7
|
2013-08-16T12:51:29
|
|
Patched to compile.
|
|
02868b69
|
2013-08-16T13:37:27
|
|
[Bug 2042] OpenGL ES renderer tries to load OES functions unconditionally
Also, fail more gracefully when creating texture to avoid double free errors.
|
|
76b7b1e9
|
2013-08-16T09:20:33
|
|
Fixed alpha composition when destination alpha is transparent.
Jianyu Guan
I found I make a big mistake that when dstA==0, I just simply let *dstp=*srcp and forgot to make dstRGB = srcRGB*srcA.
The if consition "(*dstp & amask) == 0" in BlitRGBtoRGBPixelAlphaMMX and BlitRGBtoRGBPixelAlphaMMX3dNow should be removed.
|
|
89bc80f1
|
2013-08-16T06:59:19
|
|
Fixed alpha blending for the MMX blit functions
I see the Remarks of function SDL_BlitSurface shows that "when SDL_BLENDMODE_BLEND, we have dstA = srcA + (dstA * (1-srcA))". however, I tested some pictures but the result implies "dstA=arcA" actually. I stepped into the source code, and found after I set SDL_BLENDMODE_BLEND for the source surface, the final blit function is BlitRGBtoRGBPixelAlphaMMX when I use SDL_BlitSurface on my computer. And I found these codes:
else if (alpha == amask) {
/* opaque alpha -- copy RGB, keep dst alpha */
*dstp = (*srcp & chanmask) | (*dstp & ~chanmask);
The same code is used in BlitRGBtoRGBPixelAlphaMMX3DNOW and BlitRGBtoRGBPixelAlpha. So I think they still keep dst alpha.
Best regards,
Jianyu Guan
|
|
67367be0
|
2013-08-12T22:00:21
|
|
Don't print "unrecognized key" message for an X11 keycode of 0. This can happen with composed characters.
|
|
14bf230d
|
2013-08-12T11:09:13
|
|
Mac: Fix restoring of Cmd-H-hidden fullscreen desktop windows.
This should fix http://bugzilla.libsdl.org/show_bug.cgi?id=1996
|
|
dad42067
|
2013-08-12T11:13:50
|
|
Fixes #2022, do not resume on Android when surfaceChanged
If the app is in landscape mode and the user presses the power button, a pause
is followed immediately by a surfaceChanged event because the lock screen
is shown in portrait mode. This triggers a "false" resume.
So, we just pause and resume following the onWindowFocusChanged events.
Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before
blocking the event pump.
|