Fri, 12 Oct 2012 02:30:03 -0700 Fixed a bug resetting the viewport with a render target.
Sam Lantinga <slouken@libsdl.org> [Fri, 12 Oct 2012 02:30:03 -0700] rev 6579
Fixed a bug resetting the viewport with a render target.
Fri, 12 Oct 2012 02:20:10 -0700 Added SDL_GetRenderTarget() API function
Sam Lantinga <slouken@libsdl.org> [Fri, 12 Oct 2012 02:20:10 -0700] rev 6578
Added SDL_GetRenderTarget() API function Also fixed a bug with setting logical size for a render target.
Thu, 11 Oct 2012 15:05:00 -0700 Use the --no-undefined linker option if it's available, which will catch references to undefined functions which could fail at runtime.
Sam Lantinga <slouken@libsdl.org> [Thu, 11 Oct 2012 15:05:00 -0700] rev 6577
Use the --no-undefined linker option if it's available, which will catch references to undefined functions which could fail at runtime.
Thu, 11 Oct 2012 14:44:27 -0700 Merged Ryan's changes
Sam Lantinga <slouken@libsdl.org> [Thu, 11 Oct 2012 14:44:27 -0700] rev 6576
Merged Ryan's changes
Thu, 11 Oct 2012 14:43:13 -0700 Only install/uninstall the colormap if we've created a DirectColor colormap.
Sam Lantinga <slouken@libsdl.org> [Thu, 11 Oct 2012 14:43:13 -0700] rev 6575
Only install/uninstall the colormap if we've created a DirectColor colormap.
Thu, 11 Oct 2012 14:42:49 -0700 Added missing X11 call XUninstallColormap()
Sam Lantinga <slouken@libsdl.org> [Thu, 11 Oct 2012 14:42:49 -0700] rev 6574
Added missing X11 call XUninstallColormap()
Thu, 11 Oct 2012 17:20:43 -0400 Added missing X11 symbol.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Oct 2012 17:20:43 -0400] rev 6573
Added missing X11 symbol.
Thu, 11 Oct 2012 19:08:03 +0200 Use variables for what they were created for SDL-1.2
Patrice Mandin <patmandin@gmail.com> [Thu, 11 Oct 2012 19:08:03 +0200] rev 6572
Use variables for what they were created for
Thu, 11 Oct 2012 09:44:59 -0700 Test commit. Adding space to TODO..
Michael Sartain <mikesart@valvesoftware.com> [Thu, 11 Oct 2012 09:44:59 -0700] rev 6571
Test commit. Adding space to TODO..
Thu, 11 Oct 2012 09:41:43 -0700 Add GLX_X_VISUAL_TYPE_EXT so created window will use DirectColor if available (instead of TrueColor).
Michael Sartain <mikesart@valvesoftware.com> [Thu, 11 Oct 2012 09:41:43 -0700] rev 6570
Add GLX_X_VISUAL_TYPE_EXT so created window will use DirectColor if available (instead of TrueColor). Our new X11 window was being created with the TrueColor attribute, and trying to set the gamma on that would fail. This change checks for the visual_info extension, and uses that to ask for DirectColor if available.
Thu, 11 Oct 2012 09:37:38 -0700 Add XInitThreads to X11_CreateDevice.
Michael Sartain <mikesart@valvesoftware.com> [Thu, 11 Oct 2012 09:37:38 -0700] rev 6569
Add XInitThreads to X11_CreateDevice. The nVidia driver requires XInitThreads to be called for it to work in multithreaded mode. Sam also says that the overhead for this is small enough that it should just be done by default at this point. If this causes issues, we can add a hint later to enable / disable this call.
Thu, 11 Oct 2012 09:34:13 -0700 Fix Colormap when using X11_SetWindowFullscreenViaWM() path.
Michael Sartain <mikesart@valvesoftware.com> [Thu, 11 Oct 2012 09:34:13 -0700] rev 6568
Fix Colormap when using X11_SetWindowFullscreenViaWM() path. This was needed to get X11_SetWindowGammaRamp() working. Sam points out that there is an issue right now where colormaps will only work with fullscreen windows, and we may want to set this when getting input focus for windowed apps.
Wed, 10 Oct 2012 23:10:04 -0400 Allow specifying of OpenGL 3.2 Core Profile on Mac OS X.
Ryan C. Gordon <icculus@icculus.org> [Wed, 10 Oct 2012 23:10:04 -0400] rev 6567
Allow specifying of OpenGL 3.2 Core Profile on Mac OS X.
Sat, 06 Oct 2012 12:16:32 -0700 Add flags to the vidmode debug output
Sam Lantinga <slouken@libsdl.org> [Sat, 06 Oct 2012 12:16:32 -0700] rev 6566
Add flags to the vidmode debug output
Sat, 06 Oct 2012 11:23:47 -0700 When using Xinerama, XVidMode always works on screen 0. Otherwise use the real X11 screen.
Sam Lantinga <slouken@libsdl.org> [Sat, 06 Oct 2012 11:23:47 -0700] rev 6565
When using Xinerama, XVidMode always works on screen 0. Otherwise use the real X11 screen.
Sat, 06 Oct 2012 10:53:47 -0700 XVidMode only works on the screen at the origin
Sam Lantinga <slouken@libsdl.org> [Sat, 06 Oct 2012 10:53:47 -0700] rev 6564
XVidMode only works on the screen at the origin
Fri, 05 Oct 2012 23:18:53 -0400 XFlush() after setting the icon. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Oct 2012 23:18:53 -0400] rev 6563
XFlush() after setting the icon.
Fri, 05 Oct 2012 22:43:00 -0400 Fixed memory leak in X11_SetWindowIcon().
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Oct 2012 22:43:00 -0400] rev 6562
Fixed memory leak in X11_SetWindowIcon().
Fri, 05 Oct 2012 22:41:02 -0400 Try to use _NET_WM_ICON if possible for X11's SDL_WM_SetIcon() implementation. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Oct 2012 22:41:02 -0400] rev 6561
Try to use _NET_WM_ICON if possible for X11's SDL_WM_SetIcon() implementation. This lets us have larger icons with more colors.
Thu, 04 Oct 2012 23:56:37 -0400 Fixed compiler warning in debug code.
Ryan C. Gordon <icculus@icculus.org> [Thu, 04 Oct 2012 23:56:37 -0400] rev 6560
Fixed compiler warning in debug code.
Thu, 04 Oct 2012 20:41:22 -0700 Turn off video mode debugging
Sam Lantinga <slouken@libsdl.org> [Thu, 04 Oct 2012 20:41:22 -0700] rev 6559
Turn off video mode debugging
Thu, 04 Oct 2012 13:50:41 -0700 I'm becoming more and more convinced that the application should never use XRandR, and it's the window manager's responsibility to track and manage display modes for fullscreen windows.
Sam Lantinga <slouken@libsdl.org> [Thu, 04 Oct 2012 13:50:41 -0700] rev 6558
I'm becoming more and more convinced that the application should never use XRandR, and it's the window manager's responsibility to track and manage display modes for fullscreen windows. Because it's so broken, I'm going to disable XRandR by default. You can still enable it via environment variable or application hint (SDL_HINT_VIDEO_X11_XRANDR)
Thu, 04 Oct 2012 02:56:25 -0700 Support iPhone 5 launch images
Sam Lantinga <slouken@libsdl.org> [Thu, 04 Oct 2012 02:56:25 -0700] rev 6557
Support iPhone 5 launch images
Thu, 04 Oct 2012 02:13:12 -0700 Keep the launch image up until the application has created an OpenGL view
Sam Lantinga <slouken@libsdl.org> [Thu, 04 Oct 2012 02:13:12 -0700] rev 6556
Keep the launch image up until the application has created an OpenGL view
Wed, 03 Oct 2012 20:49:16 -0700 Fixed bug 1614 - SDL for Android does not implement TextInput API
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 20:49:16 -0700] rev 6555
Fixed bug 1614 - SDL for Android does not implement TextInput API Andrey Isakov 2012-10-03 08:30:25 PDT I've found out in the process of porting one OS project to Android/SDL2 that there is no support for TextInput events/APIs on Android. So I implemented some kind of initial support of that feature, and at the very least it seems to work fine with latin chars input with soft and hardware keyboards on my Moto Milestone2. I've also tried playing around with more complex IMEs, like japanese, logging the process and it seemed to work too. I'm not sure since the app itself I am working on does not have support for non-latin input. The main point of the patch is to place a fake input view in the region specified by SDL_SetTextInputRect and create a custom InputConnection for it. The reason to make it a separate view is to support Android's pan&scan on input feature properly. For details please refer to http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html Even though the manual states that SetTextInputRect is used to determine the IME variants position, I thought this would be a proper use for this too.
Wed, 03 Oct 2012 20:22:14 -0700 Fixed compiler warning
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 20:22:14 -0700] rev 6554
Fixed compiler warning
Wed, 03 Oct 2012 19:39:12 -0700 This hack doesn't work very well. I'd rather just show the problem so it can be fixed.
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 19:39:12 -0700] rev 6553
This hack doesn't work very well. I'd rather just show the problem so it can be fixed.
Wed, 03 Oct 2012 19:26:07 -0700 Merged Ryan's changes
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 19:26:07 -0700] rev 6552
Merged Ryan's changes
Wed, 03 Oct 2012 19:25:08 -0700 Fixed refresh rate calculation
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 19:25:08 -0700] rev 6551
Fixed refresh rate calculation
Wed, 03 Oct 2012 19:24:11 -0700 Don't try to query outputs that are not hooked up to a crtc
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 19:24:11 -0700] rev 6550
Don't try to query outputs that are not hooked up to a crtc
Wed, 03 Oct 2012 19:02:46 -0700 Added a delay hack to let the window manager adjust to the mode change. I'm not sure if this is a good idea, but at least it works sometimes now. :)
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 19:02:46 -0700] rev 6549
Added a delay hack to let the window manager adjust to the mode change. I'm not sure if this is a good idea, but at least it works sometimes now. :)
Wed, 03 Oct 2012 18:56:29 -0700 Rewritten X11 video mode support to directly set requested modes and exactly restore the desktop mode at shutdown.
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 18:56:29 -0700] rev 6548
Rewritten X11 video mode support to directly set requested modes and exactly restore the desktop mode at shutdown.
Wed, 03 Oct 2012 18:54:31 -0700 A window being fullscreen takes precedence over coordinate checks
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 18:54:31 -0700] rev 6547
A window being fullscreen takes precedence over coordinate checks This fixes restoring video mode on the second display at shutdown in some circumstances.
Wed, 03 Oct 2012 20:02:13 -0400 Helps to initialize variables in the right function. :)
Ryan C. Gordon <icculus@icculus.org> [Wed, 03 Oct 2012 20:02:13 -0400] rev 6546
Helps to initialize variables in the right function. :)
Wed, 03 Oct 2012 19:20:53 -0400 Fixed compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Wed, 03 Oct 2012 19:20:53 -0400] rev 6545
Fixed compiler warning.
Wed, 03 Oct 2012 13:39:42 -0700 Use Ctrl modifier for window resize key bindings
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 13:39:42 -0700] rev 6544
Use Ctrl modifier for window resize key bindings
Wed, 03 Oct 2012 13:38:22 -0700 Added key bindings to resize the window (+/-)
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 13:38:22 -0700] rev 6543
Added key bindings to resize the window (+/-)
Wed, 03 Oct 2012 13:37:44 -0700 Keep track of the configure events we've received from the X server.
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 13:37:44 -0700] rev 6542
Keep track of the configure events we've received from the X server. When programmatically resizing a window on Unity 3D, we'll get a move event with the old size before we get a size event with the new size, and we don't want to clobber our internal state with the old size.
Wed, 03 Oct 2012 12:33:42 -0700 Poke window managers to get them to respect the resize hints.
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 12:33:42 -0700] rev 6541
Poke window managers to get them to respect the resize hints.
Wed, 03 Oct 2012 12:19:55 -0700 Fix the size to the windowed mode, not the fullscreen mode.
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 12:19:55 -0700] rev 6540
Fix the size to the windowed mode, not the fullscreen mode.
Wed, 03 Oct 2012 12:14:04 -0700 Always set the size hints for consistent behavior with all window managers, and it wasn't resetting when switching back from fullscreen mode.
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 12:14:04 -0700] rev 6539
Always set the size hints for consistent behavior with all window managers, and it wasn't resetting when switching back from fullscreen mode.
Wed, 03 Oct 2012 12:04:30 -0700 Fixed compile error - had work in progress in there.
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 12:04:30 -0700] rev 6538
Fixed compile error - had work in progress in there.
Wed, 03 Oct 2012 11:33:09 -0700 Fixed XRandR code to change resolution on the correct monitor in a multi-monitor setup.
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 11:33:09 -0700] rev 6537
Fixed XRandR code to change resolution on the correct monitor in a multi-monitor setup.
Tue, 02 Oct 2012 23:23:44 -0700 Fixed copying headers to the Framework
Sam Lantinga <slouken@libsdl.org> [Tue, 02 Oct 2012 23:23:44 -0700] rev 6536
Fixed copying headers to the Framework
Tue, 02 Oct 2012 10:38:10 -0700 Fixed bug where SDL thought the window was shown and it wasn't actually.
Sam Lantinga <slouken@libsdl.org> [Tue, 02 Oct 2012 10:38:10 -0700] rev 6535
Fixed bug where SDL thought the window was shown and it wasn't actually. From Rick Johnson: Here's the call pattern: Create the window hidden The game tells it to adjust the window position Make the window visible. A problem arises from the SetWindowsPos() - the default behavior of that would cause a WM_ACTIVATE message to be passed, of which SDL interprets that as the window now becoming visible and sets the flags. The window is not visible though. Now, when you try to call ShowWindow() - SDL sees those flags as indicating that the window is visible and early returns. My proposed fix was that if we are calling set windows position and we aren't visible, add on the flag SWP_NOACTIVATE, which tells windows to not send down the WM_ACTIVATE flag.
Tue, 02 Oct 2012 13:29:59 -0300 Updated iOS Readme to reflect Game Center integration changes.
Gabriel Jacobo <gabomdq@gmail.com> [Tue, 02 Oct 2012 13:29:59 -0300] rev 6534
Updated iOS Readme to reflect Game Center integration changes.
Tue, 02 Oct 2012 00:28:23 -0700 Fixed texture list when swapping textures (thanks Drake Wilson!)
Sam Lantinga <slouken@libsdl.org> [Tue, 02 Oct 2012 00:28:23 -0700] rev 6533
Fixed texture list when swapping textures (thanks Drake Wilson!)
Mon, 01 Oct 2012 23:28:19 -0700 Initialized default scale for software renderer (thanks Marcus von Appen!)
Sam Lantinga <slouken@libsdl.org> [Mon, 01 Oct 2012 23:28:19 -0700] rev 6532
Initialized default scale for software renderer (thanks Marcus von Appen!)
Mon, 01 Oct 2012 23:23:04 -0700 Fixed a compiler warning
Sam Lantinga <slouken@libsdl.org> [Mon, 01 Oct 2012 23:23:04 -0700] rev 6531
Fixed a compiler warning
Mon, 01 Oct 2012 22:30:07 -0700 Added SDL_RenderSetLogicalSize() and SDL_RenderGetLogicalSize()
Sam Lantinga <slouken@libsdl.org> [Mon, 01 Oct 2012 22:30:07 -0700] rev 6530
Added SDL_RenderSetLogicalSize() and SDL_RenderGetLogicalSize()
Mon, 01 Oct 2012 21:57:09 -0700 The viewport is already scaled to the output coordinates
Sam Lantinga <slouken@libsdl.org> [Mon, 01 Oct 2012 21:57:09 -0700] rev 6529
The viewport is already scaled to the output coordinates
Mon, 01 Oct 2012 20:59:33 -0700 Added SDL_RenderSetScale() and SDL_RenderGetScale()
Sam Lantinga <slouken@libsdl.org> [Mon, 01 Oct 2012 20:59:33 -0700] rev 6528
Added SDL_RenderSetScale() and SDL_RenderGetScale()
Mon, 01 Oct 2012 00:56:58 -0700 Do the src and dst rectangle clipping without affecting the surface clip rectangle.
Sam Lantinga <slouken@libsdl.org> [Mon, 01 Oct 2012 00:56:58 -0700] rev 6527
Do the src and dst rectangle clipping without affecting the surface clip rectangle.
Mon, 01 Oct 2012 00:40:26 -0700 Fixed scaled blitting for complex blit operations (e.g. color modulation and alpha blending)
Sam Lantinga <slouken@libsdl.org> [Mon, 01 Oct 2012 00:40:26 -0700] rev 6526
Fixed scaled blitting for complex blit operations (e.g. color modulation and alpha blending)
Mon, 01 Oct 2012 00:02:07 -0700 Whoops, that's a header!
Sam Lantinga <slouken@libsdl.org> [Mon, 01 Oct 2012 00:02:07 -0700] rev 6525
Whoops, that's a header!
Sun, 30 Sep 2012 23:08:46 -0700 Added SDL_dropevents.c to the Visual C projects
Sam Lantinga <slouken@libsdl.org> [Sun, 30 Sep 2012 23:08:46 -0700] rev 6524
Added SDL_dropevents.c to the Visual C projects
Sun, 30 Sep 2012 11:10:17 -0700 Fixed bug 1593 - SDL_DROPFILE event doesn't work on Windows
Sam Lantinga <slouken@libsdl.org> [Sun, 30 Sep 2012 11:10:17 -0700] rev 6523
Fixed bug 1593 - SDL_DROPFILE event doesn't work on Windows Philipp Wiesemann 2012-09-30 05:56:09 PDT I attached a patch which tries to implement the dropfile support for Microsoft Windows. If applied SDL_DROPFILE events should be sent for single or multiple files which are dropped on window. The handling on Windows side is always activated (cursor will change and so on) because there is no connection between SDL_EventState() and the window setup. I assumed this additional overhead would be small and can be ignored.
Sun, 30 Sep 2012 01:08:48 -0700 The gl_data is optional for the driver, so don't early out of the context delete call if it doesn't exist.
Sam Lantinga <slouken@libsdl.org> [Sun, 30 Sep 2012 01:08:48 -0700] rev 6522
The gl_data is optional for the driver, so don't early out of the context delete call if it doesn't exist.
Sun, 30 Sep 2012 01:01:48 -0700 Remove the viewcontroller from the window when he OpenGL context is destroyed
Sam Lantinga <slouken@libsdl.org> [Sun, 30 Sep 2012 01:01:48 -0700] rev 6521
Remove the viewcontroller from the window when he OpenGL context is destroyed
Sat, 29 Sep 2012 18:52:00 -0700 Make sure mode width/height and status bar orientation match
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 18:52:00 -0700] rev 6520
Make sure mode width/height and status bar orientation match
Sat, 29 Sep 2012 17:38:54 -0700 Fixed issue with touch input on retina displays
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 17:38:54 -0700] rev 6519
Fixed issue with touch input on retina displays
Sat, 29 Sep 2012 17:23:40 -0700 Refactored the UIKit mode code into a separate file so it's cleaner and more consistent with other backends
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 17:23:40 -0700] rev 6518
Refactored the UIKit mode code into a separate file so it's cleaner and more consistent with other backends
Sat, 29 Sep 2012 17:22:32 -0700 Added a couple new test executables to be ignored
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 17:22:32 -0700] rev 6517
Added a couple new test executables to be ignored
Sat, 29 Sep 2012 16:41:32 -0700 Only change the UI orientation if it's actually necessary for the mode.
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 16:41:32 -0700] rev 6516
Only change the UI orientation if it's actually necessary for the mode.
Sat, 29 Sep 2012 03:42:40 -0700 Bring Cocoa application menus up to par with the OS X Human Interface Guidelines, including supporting key equivalents.
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 03:42:40 -0700] rev 6515
Bring Cocoa application menus up to par with the OS X Human Interface Guidelines, including supporting key equivalents.
Sat, 29 Sep 2012 02:50:42 -0700 Fixed beeping introduced when we started passing key events through the responder chain.
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 02:50:42 -0700] rev 6514
Fixed beeping introduced when we started passing key events through the responder chain.
Sat, 29 Sep 2012 01:12:40 -0700 If the window is resizable, reset the viewport by default if the window size changes.
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 01:12:40 -0700] rev 6513
If the window is resizable, reset the viewport by default if the window size changes.
Sat, 29 Sep 2012 01:10:53 -0700 WINDOW_RESIZED events shouldn't flush WINDOW_SIZE_CHANGED events and vice versa.
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 01:10:53 -0700] rev 6512
WINDOW_RESIZED events shouldn't flush WINDOW_SIZE_CHANGED events and vice versa.
Sat, 29 Sep 2012 00:17:34 -0700 Updated support for external video output on the iPad
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 00:17:34 -0700] rev 6511
Updated support for external video output on the iPad
Sat, 29 Sep 2012 00:01:32 -0700 No variable shadowing, reuse the size variable
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Sep 2012 00:01:32 -0700] rev 6510
No variable shadowing, reuse the size variable
Fri, 28 Sep 2012 15:59:36 -0700 SDL 2.0 supports 32-bit icons with alpha. :)
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 15:59:36 -0700] rev 6509
SDL 2.0 supports 32-bit icons with alpha. :)
Fri, 28 Sep 2012 14:42:47 -0700 Show the size changed window message
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 14:42:47 -0700] rev 6508
Show the size changed window message
Fri, 28 Sep 2012 14:22:33 -0700 Merged Ryan's commits
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 14:22:33 -0700] rev 6507
Merged Ryan's commits
Fri, 28 Sep 2012 14:22:18 -0700 Get the correct screen bounds from xinerama
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 14:22:18 -0700] rev 6506
Get the correct screen bounds from xinerama
Fri, 28 Sep 2012 14:21:15 -0700 Print the bounds of each display when showing mode information
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 14:21:15 -0700] rev 6505
Print the bounds of each display when showing mode information
Fri, 28 Sep 2012 14:01:55 -0700 We need to queue the focus in/out changes because they may occur during video mode changes and we can respond to them by triggering more mode changes.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 14:01:55 -0700] rev 6504
We need to queue the focus in/out changes because they may occur during video mode changes and we can respond to them by triggering more mode changes.
Fri, 28 Sep 2012 14:00:43 -0700 Don't warn about the window size changing if the window is resizable
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 14:00:43 -0700] rev 6503
Don't warn about the window size changing if the window is resizable
Fri, 28 Sep 2012 11:51:16 -0700 Fixed detection of display bounds after a mode switch when Xinerama is enabled.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 11:51:16 -0700] rev 6502
Fixed detection of display bounds after a mode switch when Xinerama is enabled.
Fri, 28 Sep 2012 10:54:26 -0700 Theoretically fixed the position of the child window, though it's always ending up at the upper left corner for some reason.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 10:54:26 -0700] rev 6501
Theoretically fixed the position of the child window, though it's always ending up at the upper left corner for some reason.
Fri, 28 Sep 2012 10:24:28 -0700 A few more tweaks for the legacy fullscreen support
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 10:24:28 -0700] rev 6500
A few more tweaks for the legacy fullscreen support
Fri, 28 Sep 2012 14:17:30 -0400 Patched to compile on Visual Studio.
Ryan C. Gordon <icculus@icculus.org> [Fri, 28 Sep 2012 14:17:30 -0400] rev 6499
Patched to compile on Visual Studio.
Fri, 28 Sep 2012 14:12:45 -0400 Add a safety net X11 error handler, to reset the vidmodes before crashing.
Ryan C. Gordon <icculus@icculus.org> [Fri, 28 Sep 2012 14:12:45 -0400] rev 6498
Add a safety net X11 error handler, to reset the vidmodes before crashing.
Fri, 28 Sep 2012 04:09:06 -0700 Fixed bug 1579 - Creating a texture with unsupported format may cause double-destruction
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 04:09:06 -0700] rev 6497
Fixed bug 1579 - Creating a texture with unsupported format may cause double-destruction Alexander Hirsch 2012-08-25 20:01:29 PDT When creating a SDL_Texture with unsupported format (I'll now refer to it as texture A), SDL_CreateTexture will call SDL_CreateTexture again with GetClosestSupportedFormat to set texture->native (which I will now refer to as texture B). This causes texture B to be put before A in renderer->textures. If texture A is explicitly destroyed, everything is fine. Otherwise, upon SDL_DestroyRenderer, the loop will first encounter texture B, destroy it, then texture A, destroy that which will want to destroy texture->native and since it is already destroyed set an error. The solution could be as simple as swapping texture A with B after texture->native gets set in SDL_CreateTextures.
Fri, 28 Sep 2012 04:03:06 -0700 Fixed bug 1605 - SDL_DestroyWindow causes erroneous error message
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 04:03:06 -0700] rev 6496
Fixed bug 1605 - SDL_DestroyWindow causes erroneous error message You can't pass a NULL window into SDL_GL_MakeCurrent()
Fri, 28 Sep 2012 03:54:39 -0700 Clear the queue active flag when we shutdown, so we don't have a mutex error trying to read the queue.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 03:54:39 -0700] rev 6495
Clear the queue active flag when we shutdown, so we don't have a mutex error trying to read the queue.
Fri, 28 Sep 2012 03:49:27 -0700 Fixed bug 1584 - Improved glError checks in the opengl renderer
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 03:49:27 -0700] rev 6494
Fixed bug 1584 - Improved glError checks in the opengl renderer Martin Gerhardy 2012-08-27 02:42:25 PDT I've extended the gl error checks. This is needed because on my system there are errors in the renderer that are hard to find. Also glError can return multiple errors. Even if SDL_SetError would only contain the last one of course, the SDL log facilities are able to get the output for each error.
Fri, 28 Sep 2012 03:29:36 -0700 Made it clear that locking a streaming texture is a write-only operation.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 03:29:36 -0700] rev 6493
Made it clear that locking a streaming texture is a write-only operation.
Fri, 28 Sep 2012 03:22:26 -0700 Result of autogen.sh run with previous commit
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 03:22:26 -0700] rev 6492
Result of autogen.sh run with previous commit
Fri, 28 Sep 2012 03:18:18 -0700 Fixed bug 1587 - "aclocal" fails to generate a sufficient "aclocal.m4"
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 03:18:18 -0700] rev 6491
Fixed bug 1587 - "aclocal" fails to generate a sufficient "aclocal.m4" Cecil Curry 2012-08-27 16:55:12 PDT Allow "aclocal" to find the "AC_CHECK_DEFINE" macro. On running: rm aclocal.m4 libtoolize --install --copy --force aclocal -I acinclude autoconf -I acinclude The former three commands succeed, but "autoconf" fails with: configure.in:198: error: possibly undefined macro: AC_CHECK_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. "aclocal" fails to find AC_CHECK_DEFINE and hence add such macro to "aclocal.m4". Here is why: * "acinclude/ac_check_define.m4" defines AC_CHECK_DEFINE via define() rather than AC_DEFUN(). * "aclocal" fails to find macros defined via define().
Fri, 28 Sep 2012 02:43:13 -0700 Fixed memory leak in an error case
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 02:43:13 -0700] rev 6490
Fixed memory leak in an error case
Fri, 28 Sep 2012 02:33:42 -0700 Fixed bug 1496 - SDLView not created for a Cocoa window, resulting in missing right mouse clicks
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 02:33:42 -0700] rev 6489
Fixed bug 1496 - SDLView not created for a Cocoa window, resulting in missing right mouse clicks When you create an nswindow it automatically gets a default view, so we'll just create an SDLView if we're creating the window.
Fri, 28 Sep 2012 02:15:44 -0700 We don't always get the focus change events. Argh!
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 02:15:44 -0700] rev 6488
We don't always get the focus change events. Argh!
Fri, 28 Sep 2012 01:51:51 -0700 Simplified the NetWM code a little bit, and it now operates on X11 Window
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 01:51:51 -0700] rev 6487
Simplified the NetWM code a little bit, and it now operates on X11 Window
Fri, 28 Sep 2012 01:36:26 -0700 Don't set the hidden netwm state, that would mean we don't want to be shown, which is bad.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 01:36:26 -0700] rev 6486
Don't set the hidden netwm state, that would mean we don't want to be shown, which is bad.
Fri, 28 Sep 2012 01:15:48 -0700 Pass the flags in, not the window pointer!
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 01:15:48 -0700] rev 6485
Pass the flags in, not the window pointer!
Fri, 28 Sep 2012 01:11:30 -0700 Don't base our resizable state on what the window manager decided, instead we want to base it on the size hints which we set.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 01:11:30 -0700] rev 6484
Don't base our resizable state on what the window manager decided, instead we want to base it on the size hints which we set.
Fri, 28 Sep 2012 00:57:47 -0700 Only map/unmap if the window isn't already in the correct state.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 00:57:47 -0700] rev 6483
Only map/unmap if the window isn't already in the correct state.
Fri, 28 Sep 2012 00:40:47 -0700 Fixed bug where desktop resolution was never restored if Xinerama was enabled.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 00:40:47 -0700] rev 6482
Fixed bug where desktop resolution was never restored if Xinerama was enabled.
Thu, 27 Sep 2012 23:55:38 -0700 Compositing window managers can show and hide windows without ever affecting the mapped state. However they do send NetWM protocol messages to indicate this is happening.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 23:55:38 -0700] rev 6481
Compositing window managers can show and hide windows without ever affecting the mapped state. However they do send NetWM protocol messages to indicate this is happening. Also refactored the netwm state code so it's consistent between the places that use it.
Thu, 27 Sep 2012 17:17:33 -0700 Hopefully improved legacy fullscreen handling (it works now on my Ubuntu Unity system)
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 17:17:33 -0700] rev 6480
Hopefully improved legacy fullscreen handling (it works now on my Ubuntu Unity system)
Thu, 27 Sep 2012 14:38:56 -0700 Removed unused variables
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 14:38:56 -0700] rev 6479
Removed unused variables
Thu, 27 Sep 2012 14:35:28 -0700 Removed executable bit from source files
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 14:35:28 -0700] rev 6478
Removed executable bit from source files
Thu, 27 Sep 2012 13:52:57 -0700 When we're reparented we'll get both unmapnotify and mapnotify. Eat both so the unmap notify doesn't confuse the normal event processing.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 13:52:57 -0700] rev 6477
When we're reparented we'll get both unmapnotify and mapnotify. Eat both so the unmap notify doesn't confuse the normal event processing.
Thu, 27 Sep 2012 13:52:07 -0700 Show events from all windows (for the legacy fullscreen case)
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 13:52:07 -0700] rev 6476
Show events from all windows (for the legacy fullscreen case)
Thu, 27 Sep 2012 13:23:34 -0700 Fixed fullscreen origin for multi-head displays
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 13:23:34 -0700] rev 6475
Fixed fullscreen origin for multi-head displays
Thu, 27 Sep 2012 13:22:34 -0700 Added debug define (commented out)
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 13:22:34 -0700] rev 6474
Added debug define (commented out)
Thu, 27 Sep 2012 11:39:31 -0700 Use the legacy fullscreen code if the window manager doesn't support the NetWM protocol.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 11:39:31 -0700] rev 6473
Use the legacy fullscreen code if the window manager doesn't support the NetWM protocol.
Thu, 27 Sep 2012 11:29:13 -0700 Turned the X11 mode extension environment variables into hints so they can be more easily set from applications.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 11:29:13 -0700] rev 6472
Turned the X11 mode extension environment variables into hints so they can be more easily set from applications.
Thu, 27 Sep 2012 11:13:30 -0700 Print a message if the window size was changed from the requested size.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 11:13:30 -0700] rev 6471
Print a message if the window size was changed from the requested size.
Thu, 27 Sep 2012 11:16:31 -0700 Removed unused functions
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 11:16:31 -0700] rev 6470
Removed unused functions
Thu, 27 Sep 2012 15:00:34 -0300 Don't block Android event loop until all relevant events reach the app.
Gabriel Jacobo <gabomdq@gmail.com> [Thu, 27 Sep 2012 15:00:34 -0300] rev 6469
Don't block Android event loop until all relevant events reach the app.
Thu, 27 Sep 2012 10:41:16 -0700 Fixed bug where Xinerama was treated as being available even if it wasn't.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Sep 2012 10:41:16 -0700] rev 6468
Fixed bug where Xinerama was treated as being available even if it wasn't. Also added additional logging for X11 video modes
Thu, 27 Sep 2012 03:36:13 -0400 X11: Attempt to go fullscreen the way SDL 1.2 did it.
Ryan C. Gordon <icculus@icculus.org> [Thu, 27 Sep 2012 03:36:13 -0400] rev 6467
X11: Attempt to go fullscreen the way SDL 1.2 did it. Ideally this code is never used, but as a legacy fallback, it could be useful.
Thu, 27 Sep 2012 00:53:37 -0400 On Compiz (etc?), _NET_WM_ACTION_FULLSCREEN needs the window to be resizable.
Ryan C. Gordon <icculus@icculus.org> [Thu, 27 Sep 2012 00:53:37 -0400] rev 6466
On Compiz (etc?), _NET_WM_ACTION_FULLSCREEN needs the window to be resizable. Thanks to Edward Rudd for the patch!
Wed, 26 Sep 2012 20:28:58 -0700 Fixed bug 1559 - SDL does not provide scancodes for all keys available on Android.
Sam Lantinga <slouken@libsdl.org> [Wed, 26 Sep 2012 20:28:58 -0700] rev 6465
Fixed bug 1559 - SDL does not provide scancodes for all keys available on Android. Philipp Wiesemann 2012-07-28 10:03:47 PDT the current version of SDL 2.0 (HG) does not provide scancodes for all keys available on Android. Missing are all new keys added since Android API level 11. Also it would be possible to map SDL_SCANCODE_WWW, SDL_SCANCODE_MAIL and SDL_SCANCODE_SLASH. Android's KEYCODE_DEL is mapped to SDL_SCANCODE_DELETE but according to Android's documentation [1] it should be like SDL_SCANCODE_BACKSPACE. I attached a patch with these corrections.
Wed, 26 Sep 2012 20:14:37 -0700 Fixed bug 1573 - SDL does not support system clipboard on Android.
Sam Lantinga <slouken@libsdl.org> [Wed, 26 Sep 2012 20:14:37 -0700] rev 6464
Fixed bug 1573 - SDL does not support system clipboard on Android. Philipp Wiesemann 2012-08-18 14:09:47 PDT there is currently no way in SDL to interact with the system clipboard on Android. I attached a patch which tries to implement the three clipboard functions for Android. It does not add the CLIPBOARDUPDATE event because this seems to require Android API 11 or polling.
Wed, 26 Sep 2012 15:57:28 -0300 Make SDL_atomic.h depend on the void pointer size determined at compile time
Gabriel Jacobo <gabomdq@gmail.com> [Wed, 26 Sep 2012 15:57:28 -0300] rev 6463
Make SDL_atomic.h depend on the void pointer size determined at compile time rather than at configure time. As OS X supports lipo'ed versions of SDL for i386 and x86_64, a single set of headers that work for both architectures is desired.
Wed, 26 Sep 2012 14:08:46 -0400 allocate *Hint structures per Xlib docs
Edward Rudd <urkle@outoforder.cc> [Wed, 26 Sep 2012 14:08:46 -0400] rev 6462
allocate *Hint structures per Xlib docs
Tue, 25 Sep 2012 20:58:23 -0700 The beeping stopped.
Sam Lantinga <slouken@libsdl.org> [Tue, 25 Sep 2012 20:58:23 -0700] rev 6461
The beeping stopped. And, other people may need to catch key events using their own delegate.
Tue, 25 Sep 2012 20:51:31 -0700 NetBSD wscons support by wiz SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Tue, 25 Sep 2012 20:51:31 -0700] rev 6460
NetBSD wscons support by wiz
(0) -3000 -1000 -120 +120 +1000 +3000 tip