Thu, 04 Jun 2015 17:52:27 +0200Fixed not needed calculation in test program.
Philipp Wiesemann [Thu, 04 Jun 2015 17:52:27 +0200] rev 9703
Fixed not needed calculation in test program.

Thu, 04 Jun 2015 00:56:11 -0700Fixed bug 2625 - Direct3D9 with SDL_TEXTUREACCESS_TARGET textures causes an application crash
Sam Lantinga [Thu, 04 Jun 2015 00:56:11 -0700] rev 9702
Fixed bug 2625 - Direct3D9 with SDL_TEXTUREACCESS_TARGET textures causes an application crash

Roberto

I have debugged the code checking the function calls when Direct3D is the renderer, remember that with software and OpenGL renderers, this issue is not happening.

- Create the texture:
SDL_Texture *pTex = SDL_CreateTexture(pRenderer, iFormat, SDL_TEXTUREACCESS_TARGET, pSurf->w, pSurf->h);

- Update the texture:
SDL_UpdateTexture(pTex, NULL, pSurf->pixels, pSurf->pitch);
SDL_render.c, SDL_UpdateTexture(): return renderer->UpdateTexture(renderer, texture, rect, pixels, pitch);
SDL_render_d3d.c, D3D_UpdateTexture(): if (D3D_UpdateTextureRep(data->device, &texturedata->texture, texture->format, rect->x, rect->y, rect->w, rect->h, pixels, pitch) < 0) {
SDL_render_d3d.c, D3D_UpdateTextureRep(): if (D3D_CreateStagingTexture(device, texture) < 0) {
SDL_render_d3d.c, D3D_CreateStagingTexture(): result = IDirect3DDevice9_CreateTexture(..., D3DPOOL_SYSTEMMEM, ...) --> FAIL! with INVALIDCALL code

After checking a bit the Microsoft documentation, I found this:

D3DUSAGE_RENDERTARGET can only be used with D3DPOOL_DEFAULT. (https://msdn.microsoft.com/en-us/library/windows/desktop/bb172625%28v=vs.85%29.aspx)

The call that fails, is using D3DUSAGE_RENDERTARGET with D3DPOOL_SYSTEMMEM which is unsupported, hence the INVALIDCALL return code.

Thu, 04 Jun 2015 02:12:06 -0400Backout commit fb91c22f656b
Ryan C. Gordon [Thu, 04 Jun 2015 02:12:06 -0400] rev 9701
Backout commit fb91c22f656b

This caused 8-bit modes to be chosen on older OS X releases.

Fixes Bugzilla #3000.

Wed, 03 Jun 2015 13:11:28 -0700Linux: Implemented sysfs-based version of SDL_GetPowerInfo().
Ryan C. Gordon [Wed, 03 Jun 2015 13:11:28 -0700] rev 9700
Linux: Implemented sysfs-based version of SDL_GetPowerInfo().

Fixes Bugzilla #2938.

Mon, 01 Jun 2015 01:25:22 -0400Changed a static function to match the naming scheme of rest of source file.
Ryan C. Gordon [Mon, 01 Jun 2015 01:25:22 -0400] rev 9699
Changed a static function to match the naming scheme of rest of source file.

Tue, 05 May 2015 09:16:12 +0100Also set the _NET_WM_NAME. Window managers supporting this will take this value over the value set by XStoreName. This explicitly supports UTF-8 encoding, which fixes corrupt UTF-8 titles in KDE.
Jason Wyatt [Tue, 05 May 2015 09:16:12 +0100] rev 9698
Also set the _NET_WM_NAME. Window managers supporting this will take this value over the value set by XStoreName. This explicitly supports UTF-8 encoding, which fixes corrupt UTF-8 titles in KDE.

Sun, 31 May 2015 23:53:10 -0400testmessage: Try Unicode chars in the title, too.
Ryan C. Gordon [Sun, 31 May 2015 23:53:10 -0400] rev 9697
testmessage: Try Unicode chars in the title, too.

Sun, 31 May 2015 22:59:59 -0400X11: search all XI2 touch devices, not just masters (thanks, Volumetic!).
Ryan C. Gordon [Sun, 31 May 2015 22:59:59 -0400] rev 9696
X11: search all XI2 touch devices, not just masters (thanks, Volumetic!).

Otherwise, you won't find touch devices that aren't currently assigned to a
system cursor.

Sun, 31 May 2015 22:48:26 -0400X11: Fixed message boxes not responding to click on titlebar close button.
Ryan C. Gordon [Sun, 31 May 2015 22:48:26 -0400] rev 9695
X11: Fixed message boxes not responding to click on titlebar close button.

The window needs to catch ClientMessage events for one specific window, but
XNextEvent() catches everything, and XWindowEvent doesn't catch ClientMessage,
so we need predicate procedure and XIfEvent() here.

Fixes Bugzilla #2980.

Sun, 31 May 2015 22:27:46 -0400testmessage.c should report when message boxes were closed.
Ryan C. Gordon [Sun, 31 May 2015 22:27:46 -0400] rev 9694
testmessage.c should report when message boxes were closed.