Mon, 07 Mar 2011 22:03:29 -0800 The msimg library isn't needed anymore.
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 22:03:29 -0800] rev 5449
The msimg library isn't needed anymore.
Mon, 07 Mar 2011 22:03:11 -0800 Fixed the libraries linked with Visual Studio 2010, the msimg library isn't needed anymore.
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 22:03:11 -0800] rev 5448
Fixed the libraries linked with Visual Studio 2010, the msimg library isn't needed anymore.
Mon, 07 Mar 2011 14:07:08 -0800 Fixed compiler warning on Visual C++
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 14:07:08 -0800] rev 5447
Fixed compiler warning on Visual C++
Mon, 07 Mar 2011 14:06:46 -0800 Fixed bug 1161 (Setting GL_ACCELERATED_VISUAL to 1 forces software rendering in Windows XP)
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 14:06:46 -0800] rev 5446
Fixed bug 1161 (Setting GL_ACCELERATED_VISUAL to 1 forces software rendering in Windows XP) Jesse Anders 2011-03-05 23:30:09 PST It seems that in Windows XP, setting SDL_GL_ACCELERATED_VISUAL to 1 actually disables hardware acceleration and puts OpenGL in software mode. In the source code, the corresponding WGL attribute is first set here: *iAttr++ = WGL_ACCELERATION_ARB; *iAttr++ = WGL_FULL_ACCELERATION_ARB; Later, this code: if (_this->gl_config.accelerated >= 0) { *iAttr++ = WGL_ACCELERATION_ARB; *iAttr++ = (_this->gl_config.accelerated ? WGL_GENERIC_ACCELERATION_ARB : WGL_NO_ACCELERATION_ARB); } Sets it again if SDL_GL_ACCELERATED_VISUAL has a value other than the default. More importantly, the documentation I found states that WGL_GENERIC_ACCELERATION_ARB asks for an MDC driver, which, although I don't know much about this topic, doesn't seem like the correct choice here. As mentioned previously, the end effect is that requesting hardware acceleration in Windows XP actually forces the renderer into software mode (on my system at least), which I'm guessing isn't the desired behavior.
Mon, 07 Mar 2011 09:58:21 -0800 Enabled multi-touch
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 09:58:21 -0800] rev 5445
Enabled multi-touch
Mon, 07 Mar 2011 09:57:59 -0800 Added gesture test program
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 09:57:59 -0800] rev 5444
Added gesture test program
Mon, 07 Mar 2011 09:35:53 -0800 Removed associated source files
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 09:35:53 -0800] rev 5443
Removed associated source files
Mon, 07 Mar 2011 09:35:26 -0800 Removed associated resources
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 09:35:26 -0800] rev 5442
Removed associated resources
Mon, 07 Mar 2011 09:35:01 -0800 Removed old test
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 09:35:01 -0800] rev 5441
Removed old test
Mon, 07 Mar 2011 09:25:42 -0800 Fixed compile error
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 09:25:42 -0800] rev 5440
Fixed compile error
Mon, 07 Mar 2011 01:34:38 -0800 Removed the NDS hack for ARGB1555 surfaces, since it's a general problem; added full color expansion for 16 bpp packed pixels.
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 01:34:38 -0800] rev 5439
Removed the NDS hack for ARGB1555 surfaces, since it's a general problem; added full color expansion for 16 bpp packed pixels.
Mon, 07 Mar 2011 00:30:05 -0800 Fixed bitmap order interpretation; SDL defaults to MSB ordering so a bitstream corresponds to a pixel stream.
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 00:30:05 -0800] rev 5438
Fixed bitmap order interpretation; SDL defaults to MSB ordering so a bitstream corresponds to a pixel stream. The bitmap ordering is defined such that the numbering refers to the pixel index from left to right, and the number position refers to the bit position in the byte. SDL_BITMAPORDER_4321 is the fourth pixel at the high bit and the first pixel at the low bit (LSBFirst) SDL_BITMAPORDER_1234 is the first pixel at the high bit and the fourth pixel at the low bit (MSBFirst)
Mon, 07 Mar 2011 00:08:23 -0800 We explicitly don't know how to handle 1 and 4 bpp pixel formats.
Sam Lantinga <slouken@libsdl.org> [Mon, 07 Mar 2011 00:08:23 -0800] rev 5437
We explicitly don't know how to handle 1 and 4 bpp pixel formats.
Sun, 06 Mar 2011 23:56:23 -0800 Fixed memory corruption with invalid pixel values.
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 23:56:23 -0800] rev 5436
Fixed memory corruption with invalid pixel values.
Sun, 06 Mar 2011 23:54:50 -0800 Fixed up structure to match header, added missing Aloss
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 23:54:50 -0800] rev 5435
Fixed up structure to match header, added missing Aloss
Sun, 06 Mar 2011 23:54:20 -0800 Added padding for better aligned access to *shift/*loss members
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 23:54:20 -0800] rev 5434
Added padding for better aligned access to *shift/*loss members
Sun, 06 Mar 2011 21:49:52 -0800 Better error reporting in allocating a pixel format.
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:49:52 -0800] rev 5433
Better error reporting in allocating a pixel format.
Sun, 06 Mar 2011 21:47:48 -0800 Fixed garbage trying to create a FourCC pixel format.
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:47:48 -0800] rev 5432
Fixed garbage trying to create a FourCC pixel format.
Sun, 06 Mar 2011 21:34:45 -0800 Fixed initializing pixel format for indexed formats
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:34:45 -0800] rev 5431
Fixed initializing pixel format for indexed formats
Sun, 06 Mar 2011 21:19:53 -0800 You need libfat for the filesystem code.
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:19:53 -0800] rev 5430
You need libfat for the filesystem code.
Sun, 06 Mar 2011 21:19:02 -0800 Only compile the NDS renderer if specified in the config file.
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:19:02 -0800] rev 5429
Only compile the NDS renderer if specified in the config file.
Sun, 06 Mar 2011 21:18:36 -0800 A better way of setting the fullscreen flag for windows on Nintendo DS
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:18:36 -0800] rev 5428
A better way of setting the fullscreen flag for windows on Nintendo DS
Sun, 06 Mar 2011 21:17:44 -0800 Fixed compiler warning
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:17:44 -0800] rev 5427
Fixed compiler warning
Sun, 06 Mar 2011 21:17:09 -0800 Fixed compiler warnings
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:17:09 -0800] rev 5426
Fixed compiler warnings
Sun, 06 Mar 2011 21:15:46 -0800 Fixed compiler warning
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:15:46 -0800] rev 5425
Fixed compiler warning
Sun, 06 Mar 2011 21:15:28 -0800 Fixed compiler warning
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:15:28 -0800] rev 5424
Fixed compiler warning
Sun, 06 Mar 2011 21:12:19 -0800 a Nintendo ds update
Sam Lantinga <slouken@libsdl.org> [Sun, 06 Mar 2011 21:12:19 -0800] rev 5423
a Nintendo ds update Frank Zago to SDL For those interested, here's a snapshot of the current port. I did away with most of the previous attempt which was based of the sprite engine, because the support is limited to 128 64x64 sprites. Instead I'm using the gl engine. The drawback is that either the frame buffer or the gl engine can be used because there's not that much video memory on a DS. With minimal changes to their code, it can now run the following tests: , testspriteminimal, testscale and testsprite2. The last 2 only run under the emulator for some reason. The tests are not included in this patch for size reason. In 16 bits mode, the 16th bit indicated transparency/opacity. If 0, the color is not displayed. So I had to patch a few core file to set that bit to 1. See patch for src/video/SDL_RLEaccel.c and src/video/SDL_blit.h. Is that ok, or is there a better way ? The nds also doesn't support windowed mode, so I force the fullscreen in src/video/SDL_video.c. Is that ok, or is there a better way ? To get a smaller library, I also tried to not compile the software renderer when the hardware renderer is compiled in, and define SDL_NO_COMPAT; however the compilation eventually fails in SDL_surface.c because SDL_SRCCOLORKEY is defined in SDL_compat.h. Is SDL_NO_COMPAT only for application and not SDL itself ?
Sat, 05 Mar 2011 10:03:57 -0800 The Xext directory no longer exists
Sam Lantinga <slouken@libsdl.org> [Sat, 05 Mar 2011 10:03:57 -0800] rev 5422
The Xext directory no longer exists
Mon, 28 Feb 2011 23:50:32 -0800 Added support for Windows cursors
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 23:50:32 -0800] rev 5421
Added support for Windows cursors
Mon, 28 Feb 2011 23:50:07 -0800 Fixed warning on Windows
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 23:50:07 -0800] rev 5420
Fixed warning on Windows
Mon, 28 Feb 2011 22:21:32 -0800 Fixed memory leak freeing cursors
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 22:21:32 -0800] rev 5419
Fixed memory leak freeing cursors
Mon, 28 Feb 2011 21:58:37 -0800 You can use SDL_ConvertSurfaceFormat() now
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 21:58:37 -0800] rev 5418
You can use SDL_ConvertSurfaceFormat() now Also, icon is guaranteed not to be NULL going into this function.
Mon, 28 Feb 2011 21:48:02 -0800 Oh yeah, we're using extern
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 21:48:02 -0800] rev 5417
Oh yeah, we're using extern
Mon, 28 Feb 2011 20:19:28 -0800 Fullscreen doesn't automatically grab the cursor.
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 20:19:28 -0800] rev 5416
Fullscreen doesn't automatically grab the cursor.
Mon, 28 Feb 2011 20:16:12 -0800 Removed extra NoStdio configuration
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 20:16:12 -0800] rev 5415
Removed extra NoStdio configuration
Mon, 28 Feb 2011 18:03:14 -0800 Removed duplicate assignment
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 18:03:14 -0800] rev 5414
Removed duplicate assignment
Mon, 28 Feb 2011 14:47:39 -0800 If you pass in texture format 0, it'll use the first supported texture format.
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 14:47:39 -0800] rev 5413
If you pass in texture format 0, it'll use the first supported texture format.
Mon, 28 Feb 2011 09:26:35 -0800 Fixed setting draw color for clear
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 09:26:35 -0800] rev 5412
Fixed setting draw color for clear
Mon, 28 Feb 2011 09:09:13 -0800 OSF isn't supported anymore.
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 09:09:13 -0800] rev 5411
OSF isn't supported anymore.
Mon, 28 Feb 2011 09:06:29 -0800 IRIX is not supported anymore. :)
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 09:06:29 -0800] rev 5410
IRIX is not supported anymore. :)
Mon, 28 Feb 2011 09:06:15 -0800 SDL_revision.h is always updated as part of the build process now.
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 09:06:15 -0800] rev 5409
SDL_revision.h is always updated as part of the build process now.
Mon, 28 Feb 2011 09:01:53 -0800 Dynamically load the Xinerama and xf86vmode extensions
Sam Lantinga <slouken@libsdl.org> [Mon, 28 Feb 2011 09:01:53 -0800] rev 5408
Dynamically load the Xinerama and xf86vmode extensions This fixes a few bugs with different distributions: http://bugs.freedesktop.org/show_bug.cgi?id=17431 http://bugs.gentoo.org/show_bug.cgi?id=246177
Sun, 27 Feb 2011 22:22:58 -0800 Fixed compiling AltiVec blitters
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Feb 2011 22:22:58 -0800] rev 5407
Fixed compiling AltiVec blitters
Sun, 27 Feb 2011 22:06:46 -0800 Implemented mouse relative mode on Mac OS X.
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Feb 2011 22:06:46 -0800] rev 5406
Implemented mouse relative mode on Mac OS X.
Sun, 27 Feb 2011 21:36:23 -0800 Added a cleaner way to set the default cursor.
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Feb 2011 21:36:23 -0800] rev 5405
Added a cleaner way to set the default cursor. Added a way to cycle through the default cursor in testcursor.c
Sun, 27 Feb 2011 21:17:06 -0800 Fixed minimizing fullscreen windows.
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Feb 2011 21:17:06 -0800] rev 5404
Fixed minimizing fullscreen windows. Removed misleading hide/unhide Cocoa notifications. We have no way of knowing when a Cocoa window is maximized and then restored (right?) Disabled spamy mouse motion events by default.
Sun, 27 Feb 2011 20:06:45 -0800 Use boolean value for input grab mode, like we do for fullscreen mode.
Sam Lantinga <slouken@libsdl.org> [Sun, 27 Feb 2011 20:06:45 -0800] rev 5403
Use boolean value for input grab mode, like we do for fullscreen mode.
Sat, 26 Feb 2011 21:39:34 -0800 Zero streaming textures at the driver level
Sam Lantinga <slouken@libsdl.org> [Sat, 26 Feb 2011 21:39:34 -0800] rev 5402
Zero streaming textures at the driver level
Sat, 26 Feb 2011 11:59:33 -0800 Fix fullscreen origin on Mac OS X 10.4
Sam Lantinga <slouken@libsdl.org> [Sat, 26 Feb 2011 11:59:33 -0800] rev 5401
Fix fullscreen origin on Mac OS X 10.4
Sat, 26 Feb 2011 11:29:23 -0800 Fixed bug 1141
Sam Lantinga <slouken@libsdl.org> [Sat, 26 Feb 2011 11:29:23 -0800] rev 5400
Fixed bug 1141 Rebuild the window with the new style on older versions of Mac OS X.
Sat, 26 Feb 2011 10:15:13 -0800 Restore the window title when the title bar is re-added to the window.
Sam Lantinga <slouken@libsdl.org> [Sat, 26 Feb 2011 10:15:13 -0800] rev 5399
Restore the window title when the title bar is re-added to the window.
Sat, 26 Feb 2011 10:11:09 -0800 Restore the windowed position and size when coming back from fullscreen.
Sam Lantinga <slouken@libsdl.org> [Sat, 26 Feb 2011 10:11:09 -0800] rev 5398
Restore the windowed position and size when coming back from fullscreen. Also fixed problem where Cocoa would move the windows in response to the fullscreen mode change.
Thu, 24 Feb 2011 23:42:58 -0800 Hopefully fixed crashes when creating multiple streaming textures of different sizes.
Sam Lantinga <slouken@libsdl.org> [Thu, 24 Feb 2011 23:42:58 -0800] rev 5397
Hopefully fixed crashes when creating multiple streaming textures of different sizes.
Thu, 24 Feb 2011 18:11:29 -0800 Tracking rectangles had some problems, it's easier to track things directly. (fixes bug 1149, 1147, 1146)
Sam Lantinga <slouken@libsdl.org> [Thu, 24 Feb 2011 18:11:29 -0800] rev 5396
Tracking rectangles had some problems, it's easier to track things directly. (fixes bug 1149, 1147, 1146)
Thu, 24 Feb 2011 17:52:47 -0800 Fixed bug 1145 (GL Context creation fails for OpenGL 3.2 + Alpha buffer with X11 BadMatch)
Sam Lantinga <slouken@libsdl.org> [Thu, 24 Feb 2011 17:52:47 -0800] rev 5395
Fixed bug 1145 (GL Context creation fails for OpenGL 3.2 + Alpha buffer with X11 BadMatch) Matthias 2011-02-23 09:37:51 PST Please view the attached source file. Using this minimal program (as attached), it creates an OpenGL 2.0 context with a cleared color buffer. If I set the OpenGL version to 3.2, the function SDL_GL_CreateContext fails (or more specifically, glXMakeCurrent fails) with an X11 BadMatch error: X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 128 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 153 Current serial number in output stream: 153 Also note that if I do not specify the alpha buffer size, the program works for OpenGL 2.0 and OpenGL 3.2. After some further analysis, I believe I have found the problem. The specific issue is in: SDL_x11opengl.c::X11_GL_CreateContext. Note that for OpenGL 3.2 contexts, the GLXFBConfig to use is chosen as the best match from glXChooseFBConfig. However, opengl attributes originally set with SDL_GL_SetAttribute are not mapped to GLX attributes and then passed to the glXChooseFBConfig function. According to the GLX 1.4 specification, if the attributes are not specified, the function falls back to defaults (which, in this particular case, prefer alpha channel size == 0). For testing purposes, I modified the call to glXChooseFBConfig to look something like this: int glxAttribs[] = { GLX_RED_SIZE,8, GLX_GREEN_SIZE,8, GLX_BLUE_SIZE,8, GLX_ALPHA_SIZE,8, None }; if (!glXChooseFBConfig || !(framebuffer_config = glXChooseFBConfig(display, DefaultScreen(display), glxAttribs, &fbcount))) { ... } The best match GLXFBConfig then supports 8 bit alpha channel. The program then works as intended. Hope this helps!
Thu, 24 Feb 2011 17:42:45 -0800 Patch for SDL_VIDEO_CENTERED & OpenGL bug SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Thu, 24 Feb 2011 17:42:45 -0800] rev 5394
Patch for SDL_VIDEO_CENTERED & OpenGL bug Stephen Anthony to SDL Using SDL_VIDEO_CENTERED in Linux OpenGL mode issue an unwanted ConfigureNotify event *after* the SDL screen has already been resized. When going from a smaller to a larger screen, this event causes the mouse tracking to be clamped at the *smaller* screen size, even though that screen no longer exists. The fix is to not issue a ConfigureNotify when the window is moved because of the SDL_VIDEO_CENTERED environment variable. The included patch fixes this bug. It seems the hints must be set before the window is moved.
Thu, 24 Feb 2011 09:41:04 -0800 SDL 1.3 doesn't use nasm anymore. :)
Sam Lantinga <slouken@libsdl.org> [Thu, 24 Feb 2011 09:41:04 -0800] rev 5393
SDL 1.3 doesn't use nasm anymore. :)
Thu, 24 Feb 2011 09:39:23 -0800 nasm 2.09 compatibility SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Thu, 24 Feb 2011 09:39:23 -0800] rev 5392
nasm 2.09 compatibility nasm-2.09 makes `elf' alias to `elf32', thus __OUTPUT_FORMAT__ macro becomes `elf32' instead of `elf' (on x86). Unmatched macro value causes omitting .note.GNU-stack marker and creates ELFs with executable stack. This is unneeded and attracts security policies like SELinux.
Wed, 23 Feb 2011 15:06:14 -0800 Fixed compile error on some versions of Mac OS X.
Sam Lantinga <slouken@libsdl.org> [Wed, 23 Feb 2011 15:06:14 -0800] rev 5391
Fixed compile error on some versions of Mac OS X.
Tue, 22 Feb 2011 22:17:44 -0800 Fixed altivec.h include on Mac OS X
Sam Lantinga <slouken@libsdl.org> [Tue, 22 Feb 2011 22:17:44 -0800] rev 5390
Fixed altivec.h include on Mac OS X
Tue, 22 Feb 2011 21:44:36 -0800 Re-added the 3DNow! and AltiVec instruction support.
Sam Lantinga <slouken@libsdl.org> [Tue, 22 Feb 2011 21:44:36 -0800] rev 5389
Re-added the 3DNow! and AltiVec instruction support.
Mon, 21 Feb 2011 23:45:48 -0800 Update the cursor correctly when it enters and leaves the window.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 23:45:48 -0800] rev 5388
Update the cursor correctly when it enters and leaves the window.
Mon, 21 Feb 2011 23:10:00 -0800 Actually set the cursor! :)
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 23:10:00 -0800] rev 5387
Actually set the cursor! :)
Mon, 21 Feb 2011 22:52:31 -0800 Simplified the X11 window creation
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 22:52:31 -0800] rev 5386
Simplified the X11 window creation
Mon, 21 Feb 2011 22:52:07 -0800 The OpenGL test window shouldn't be visible.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 22:52:07 -0800] rev 5385
The OpenGL test window shouldn't be visible.
Mon, 21 Feb 2011 22:51:44 -0800 Don't automatically send minimized and maximized events, it's up to the windowing system to decide what to do with them.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 22:51:44 -0800] rev 5384
Don't automatically send minimized and maximized events, it's up to the windowing system to decide what to do with them.
Mon, 21 Feb 2011 22:50:15 -0800 Clear the hidden flag when shown and the shown flag when hidden.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 22:50:15 -0800] rev 5383
Clear the hidden flag when shown and the shown flag when hidden.
Mon, 21 Feb 2011 22:27:19 -0800 Simplified Windows window creation.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 22:27:19 -0800] rev 5382
Simplified Windows window creation.
Mon, 21 Feb 2011 22:26:59 -0800 Fixed compiler warnings
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 22:26:59 -0800] rev 5381
Fixed compiler warnings
Mon, 21 Feb 2011 22:03:39 -0800 Simplified and unified the window creation process a little.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 22:03:39 -0800] rev 5380
Simplified and unified the window creation process a little.
Mon, 21 Feb 2011 21:32:11 -0800 We can defer window creation.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 21:32:11 -0800] rev 5379
We can defer window creation. Added documentation for why we need an SDLView
Mon, 21 Feb 2011 20:35:44 -0800 Fixed compiler warning
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 20:35:44 -0800] rev 5378
Fixed compiler warning
Mon, 21 Feb 2011 20:34:22 -0800 Added disabled preferences menu option so it looks more like other application menus.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 20:34:22 -0800] rev 5377
Added disabled preferences menu option so it looks more like other application menus.
Mon, 21 Feb 2011 17:15:50 -0800 Implemented cursor support and SDL_WarpMouseInWindow() on Mac OS X
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 17:15:50 -0800] rev 5376
Implemented cursor support and SDL_WarpMouseInWindow() on Mac OS X
Mon, 21 Feb 2011 16:45:23 -0800 Implemented Cocoa_SetWindowIcon(), added SDL_ConvertSurfaceFormat()
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 16:45:23 -0800] rev 5375
Implemented Cocoa_SetWindowIcon(), added SDL_ConvertSurfaceFormat()
Mon, 21 Feb 2011 15:25:49 -0800 We still want the delegate functionality for windowShouldClose()
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 15:25:49 -0800] rev 5374
We still want the delegate functionality for windowShouldClose()
Mon, 21 Feb 2011 15:08:36 -0800 Do error checking in SDL_GetDisplayForWindow()
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 15:08:36 -0800] rev 5373
Do error checking in SDL_GetDisplayForWindow()
Mon, 21 Feb 2011 11:04:27 -0800 SDL still supports older iPod Touch and first generation iPhones.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 11:04:27 -0800] rev 5372
SDL still supports older iPod Touch and first generation iPhones.
Mon, 21 Feb 2011 10:50:53 -0800 Fixed the responder chain for event handling, the listener fully handles mouse events - even in fullscreen mode.
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Feb 2011 10:50:53 -0800] rev 5371
Fixed the responder chain for event handling, the listener fully handles mouse events - even in fullscreen mode. The only reason we need a custom view is to handle right mouse down. Implemented mouse grabbing, although it's kind of clunky right now. I'll be adding a relative mode that will be smoother soon.
Sun, 20 Feb 2011 23:51:59 -0800 The valid mouse coordinates actually range from 0 to w-1 and h-1
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 23:51:59 -0800] rev 5370
The valid mouse coordinates actually range from 0 to w-1 and h-1
Sun, 20 Feb 2011 23:51:31 -0800 Reverted the experiment, it didn't work.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 23:51:31 -0800] rev 5369
Reverted the experiment, it didn't work.
Sun, 20 Feb 2011 23:16:58 -0800 Experiment to try to account for source clipping
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 23:16:58 -0800] rev 5368
Experiment to try to account for source clipping
Sun, 20 Feb 2011 20:49:31 -0800 Fixed bug 1105 (SDL_GetMouseState returns wrong location upon window re-activation)
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 20:49:31 -0800] rev 5367
Fixed bug 1105 (SDL_GetMouseState returns wrong location upon window re-activation)
Sun, 20 Feb 2011 19:15:00 -0800 Updated the template code
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 19:15:00 -0800] rev 5366
Updated the template code
Sun, 20 Feb 2011 14:59:36 -0800 Fixed the fireworks demo
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 14:59:36 -0800] rev 5365
Fixed the fireworks demo
Sun, 20 Feb 2011 14:22:27 -0800 Fixed bug 1137, updated the keyboard demo with latest rendering API changes.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 14:22:27 -0800] rev 5364
Fixed bug 1137, updated the keyboard demo with latest rendering API changes.
Sun, 20 Feb 2011 14:16:11 -0800 Fixed testgles on iOS (bug 1136)
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 14:16:11 -0800] rev 5363
Fixed testgles on iOS (bug 1136)
Sun, 20 Feb 2011 13:56:57 -0800 Fixed compiler warning
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 13:56:57 -0800] rev 5362
Fixed compiler warning
Sun, 20 Feb 2011 12:39:59 -0800 Fixed compiling on Mac OS X 10.4
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 12:39:59 -0800] rev 5361
Fixed compiling on Mac OS X 10.4
Sun, 20 Feb 2011 10:54:44 -0800 Simple rumble API for haptic
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 10:54:44 -0800] rev 5360
Simple rumble API for haptic Edgar Simo 2011-02-20 10:27:52 PST Adding patch that adds a simplified API for the haptic subsystem built ontop of the "real one" for those who want simple rumble without jumping through hoops. Adds 4 functions: - extern DECLSPEC int SDLCALL SDL_HapticRumbleSupported(SDL_Haptic * haptic); - extern DECLSPEC int SDLCALL SDL_HapticRumbleInit(SDL_Haptic * haptic); - extern DECLSPEC int SDLCALL SDL_HapticRumblePlay(SDL_Haptic * haptic, float strength, Uint32 length ); - extern DECLSPEC int SDLCALL SDL_HapticRumbleStop(SDL_Haptic * haptic); Also provided is test/testrumble.c which does test this. This has all been tested on linux and has worked, but due to being built ontop of the other haptic API it should work on all OS the same.
Sun, 20 Feb 2011 10:42:51 -0800 Added a revision number for easy compile-time tests.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 10:42:51 -0800] rev 5359
Added a revision number for easy compile-time tests.
Sun, 20 Feb 2011 09:28:13 -0800 Untested fix for bug 946 (SDL_HapticIndex returns 0 for all devices)
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 09:28:13 -0800] rev 5358
Untested fix for bug 946 (SDL_HapticIndex returns 0 for all devices) Edgar Simo 2011-02-20 09:02:31 PST Linux uses fname, which is the name of the device path like for example /dev/input/event3 so it shouldn't have the issue. However I can confirm that it looks like haptic->index never gets properly set on windows. Have to look at mac os x also. I'll see if I can fix it real quick now.
Sun, 20 Feb 2011 09:24:02 -0800 Reset the viewport since we're stretching to the entire window.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 09:24:02 -0800] rev 5357
Reset the viewport since we're stretching to the entire window.
Sat, 19 Feb 2011 23:39:04 -0800 Linker and deployment target fixes for the test programs.
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 23:39:04 -0800] rev 5356
Linker and deployment target fixes for the test programs.
Sat, 19 Feb 2011 21:51:21 -0800 Added OpenGL state caching for decent speed improvement.
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 21:51:21 -0800] rev 5355
Added OpenGL state caching for decent speed improvement.
Sat, 19 Feb 2011 21:51:03 -0800 SDL works on older iPod Touch and first generation iPhones running iOS 3.1.3.
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 21:51:03 -0800] rev 5354
SDL works on older iPod Touch and first generation iPhones running iOS 3.1.3.
Sat, 19 Feb 2011 21:35:35 -0800 Fixed linking the demos
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 21:35:35 -0800] rev 5353
Fixed linking the demos
Sat, 19 Feb 2011 16:41:01 -0800 Yes, it compiles now.
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 16:41:01 -0800] rev 5352
Yes, it compiles now.
Sat, 19 Feb 2011 14:27:16 -0800 Fixed warning on Mac OS X 10.4
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 14:27:16 -0800] rev 5351
Fixed warning on Mac OS X 10.4
Sat, 19 Feb 2011 14:19:15 -0800 Autogenerated full mask checks for pixel format match
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 14:19:15 -0800] rev 5350
Autogenerated full mask checks for pixel format match
Sat, 19 Feb 2011 11:26:49 -0800 We have the correct window, we don't have to search for it, duh. :)
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 11:26:49 -0800] rev 5349
We have the correct window, we don't have to search for it, duh. :)
Sat, 19 Feb 2011 11:23:56 -0800 Added missing log debug function
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 11:23:56 -0800] rev 5348
Added missing log debug function
Sat, 19 Feb 2011 11:23:41 -0800 Add assertions to the default API set.
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 11:23:41 -0800] rev 5347
Add assertions to the default API set.
Fri, 18 Feb 2011 11:23:25 -0800 update-revision is still phony. :)
Sam Lantinga <slouken@libsdl.org> [Fri, 18 Feb 2011 11:23:25 -0800] rev 5346
update-revision is still phony. :)
Fri, 18 Feb 2011 11:19:34 -0800 Added a better way to include build rules in the Makefile
Sam Lantinga <slouken@libsdl.org> [Fri, 18 Feb 2011 11:19:34 -0800] rev 5345
Added a better way to include build rules in the Makefile Cleaned up dependencies on generating SDL_revision.h Fixed 'make install' if you are not building from a Mercurial repository
Fri, 18 Feb 2011 09:30:09 -0800 Whoops, the format parameter was off the page.
Sam Lantinga <slouken@libsdl.org> [Fri, 18 Feb 2011 09:30:09 -0800] rev 5344
Whoops, the format parameter was off the page.
Thu, 17 Feb 2011 19:00:29 -0800 The file is actually SDL_config.h now.
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 19:00:29 -0800] rev 5343
The file is actually SDL_config.h now.
Thu, 17 Feb 2011 18:58:43 -0800 Zero streaming textures to reduce confusion.
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 18:58:43 -0800] rev 5342
Zero streaming textures to reduce confusion. (See mailing list message with subject "Streaming textures not properly initialized?")
Thu, 17 Feb 2011 18:55:56 -0800 Don't remove the pseudo-generated headers because this command might be run from the repo directory and it confuses people, especially if they have no way of regenerating SDL_revision.h :)
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 18:55:56 -0800] rev 5341
Don't remove the pseudo-generated headers because this command might be run from the repo directory and it confuses people, especially if they have no way of regenerating SDL_revision.h :)
Thu, 17 Feb 2011 18:54:11 -0800 Fixed make install
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 18:54:11 -0800] rev 5340
Fixed make install
Thu, 17 Feb 2011 18:53:46 -0800 Fixed debug format
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 18:53:46 -0800] rev 5339
Fixed debug format
Thu, 17 Feb 2011 12:16:01 -0800 Removed the obsolete NoSTDIO configurations
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 12:16:01 -0800] rev 5338
Removed the obsolete NoSTDIO configurations
Thu, 17 Feb 2011 12:03:48 -0800 Allow the application to explicitly request a software renderer.
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 12:03:48 -0800] rev 5337
Allow the application to explicitly request a software renderer.
Thu, 17 Feb 2011 09:26:15 -0800 Our minimum Windows version is Windows 2000, so it's okay to directly call InitializeCriticalSectionAndSpinCount()..
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 09:26:15 -0800] rev 5336
Our minimum Windows version is Windows 2000, so it's okay to directly call InitializeCriticalSectionAndSpinCount()..
Thu, 17 Feb 2011 09:13:12 -0800 Fixed bug 1128
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 09:13:12 -0800] rev 5335
Fixed bug 1128 Patrick Baggett 2011-02-16 22:58:33 PST This enhancement is for both x86/x64 Windows. The SDL implementation of mutexes uses the Win32 API interprocess synchronization primitive called a "Mutex". This implementation is subpar because it has a much higher overhead than an intraprocess mutex. The exact technical details are below, but my tests have shown that for reasonably high contention (10 threads on 4 physical cores), it has 13x higher overhead than the Win32 CriticalSection API. If this enhancement is accepted, I will write a patch to implement SDL mutexes using the critical section API, which should dramatically reduce overhead and improve scalability. -- Tech details -- Normally, Win32 Mutexes are used across process boundaries to synchronize separate processes. In order to lock or unlock them, a user->kernel space transition is necessary, even in the uncontented case on a single CPU machine. Win32 CriticalSection objects can only be used within the same process virtual address space and thus to lock one, does not require a user->kernel space transition for the uncontended case, and additionally may spin a short while before going into kernel wait. This small spin allows a thread to obtain the lock if the mutex is released shortly after the thread starts spinning, in effect bypassing the overhead of user->kernel space transition which has higher overhead than the spinning itself.
Thu, 17 Feb 2011 02:31:50 -0800 Fixed bug #1090 (SDL_BlitCopyOverlap() assumes memcpy() operates in order) SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 02:31:50 -0800] rev 5334
Fixed bug #1090 (SDL_BlitCopyOverlap() assumes memcpy() operates in order) The much more complete fix is in SDL 1.3, but this is a band-aid that will fix the bug for 1.2.
Thu, 17 Feb 2011 02:23:48 -0800 Implemented OpenGL ES RenderClear()
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 02:23:48 -0800] rev 5333
Implemented OpenGL ES RenderClear()
Thu, 17 Feb 2011 02:18:41 -0800 Fixed warnings about unused variables and so forth.
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 02:18:41 -0800] rev 5332
Fixed warnings about unused variables and so forth.
Thu, 17 Feb 2011 02:17:38 -0800 Fixed SDL_RenderClear() if the render driver doesn't implement it.
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 02:17:38 -0800] rev 5331
Fixed SDL_RenderClear() if the render driver doesn't implement it.
Thu, 17 Feb 2011 02:16:30 -0800 Fixed crash when drawing non-textured primitives
Sam Lantinga <slouken@libsdl.org> [Thu, 17 Feb 2011 02:16:30 -0800] rev 5330
Fixed crash when drawing non-textured primitives
(0) -3000 -1000 -120 +120 +1000 +3000 tip