Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Sep 2012 19:25:42 -0400] rev 6433
Don't call XInput2 multitouch APIs if they aren't supported.
I think it fixes this:
http://forums.libsdl.org/viewtopic.php?t=8324&sid=ae797309f9e2084cadc1b6a7615bd0e4
Ryan C. Gordon <icculus@icculus.org> [Mon, 17 Sep 2012 19:20:47 -0400] rev 6432
Fixed typo in function name.
Ryan C. Gordon <icculus@icculus.org> [Sat, 15 Sep 2012 11:03:14 -0400] rev 6431
Fixed configure.in
Ryan C. Gordon <icculus@icculus.org> [Sat, 15 Sep 2012 10:59:39 -0400] rev 6430
Removed Windows CE support from SDL 2.0.
It's a long-dead platform, and we don't have any way to build for, test, or
maintain it, so there's no sense in doing acrobatics to support it.
If you need Windows CE support, use SDL 1.2. If you need Windows Phone support,
send SDL 2.0 patches for the newer Windows Mobile platform.
Ryan C. Gordon <icculus@icculus.org> [Fri, 14 Sep 2012 18:18:38 -0400] rev 6429
Fixed a typo in the docs.
Ryan C. Gordon <icculus@icculus.org> [Fri, 14 Sep 2012 13:14:20 -0400] rev 6428
Made Windows version of SDL_SetWindowBordered() mostly work.
The sizing still isn't quite right.
Ryan C. Gordon <icculus@icculus.org> [Fri, 14 Sep 2012 13:13:47 -0400] rev 6427
Consolidate some code in the Windows video target.
Ryan C. Gordon <icculus@icculus.org> [Fri, 14 Sep 2012 11:36:36 -0400] rev 6426
Restore Cocoa title bar caption when adding border to a window.
Ryan C. Gordon <icculus@icculus.org> [Fri, 14 Sep 2012 11:09:13 -0400] rev 6425
Use the right function pointer. :)
Ryan C. Gordon <icculus@icculus.org> [Fri, 14 Sep 2012 11:07:47 -0400] rev 6424
Patched to compile on Haiku.
Ryan C. Gordon <icculus@icculus.org> [Thu, 13 Sep 2012 15:24:04 -0400] rev 6423
Make the X11 SetBordered event tapdancing more robust, restore focus, etc.
Ryan C. Gordon <icculus@icculus.org> [Thu, 13 Sep 2012 01:43:53 -0400] rev 6422
Added SDL_SetWindowBordered() API.
Ryan C. Gordon <icculus@icculus.org> [Thu, 13 Sep 2012 01:29:18 -0400] rev 6421
BeOS/Haiku support for SDL_WINDOW_BORDERLESS.
Sam Lantinga <slouken@libsdl.org> [Fri, 14 Sep 2012 01:16:27 -0700] rev 6420
Fixed bug 1599 - On X11, SDL2 should use CLIPBOARD as well as PRIMARY for copy/paste
David White 2012-09-12 13:22:52 PDT
Background: X has two main 'buffers' for copy/paste:
PRIMARY -- normally used for implicit selection of text, with middle-click to
paste
CLIPBOARD -- works with an explicit copy/paste like on other platforms.
Currently SDL2 only provides access to PRIMARY. Since CLIPBOARD is much closer
to functionality of other platforms, SDL should provide access to that instead.
The attached patch makes it so that SDL_SetClipboardText() sets both PRIMARY
and CLIPBOARD and SDL_GetClipboardText() reads from CLIPBOARD instead of
primary.
Ryan C. Gordon <icculus@icculus.org> [Wed, 12 Sep 2012 19:36:18 -0400] rev 6419
Moved iOS-specific code into uikit target. Fixes crashes in X11 target.
Sam Lantinga <slouken@libsdl.org> [Mon, 10 Sep 2012 20:25:55 -0700] rev 6418
Fixed issue where the context couldn't be unbound after the window is shown because the current context was already marked as NULL. (Thanks to John McDonald for tracking that down!)
Sam Lantinga <slouken@libsdl.org> [Thu, 06 Sep 2012 21:34:52 -0700] rev 6417
Fixed error message when destroying a software renderer, thanks to wahono for the patch.
Sam Lantinga <slouken@libsdl.org> [Tue, 04 Sep 2012 23:17:56 -0700] rev 6416
Updated the Demos project to link with SDL2
Gabriel Jacobo <gabomdq@gmail.com> [Mon, 03 Sep 2012 11:54:48 -0300] rev 6415
Return a valid error in SDL_GL_Bind/UnbindTexture, thank you buildbot!
Gabriel Jacobo <gabomdq@gmail.com> [Mon, 03 Sep 2012 11:16:12 -0300] rev 6414
Implements SDL_GL_BindTexture and SDL_GL_UnbindTexture (#1576)
Ryan C. Gordon <icculus@icculus.org> [Sun, 02 Sep 2012 19:37:36 -0400] rev 6413
Removed a FIXME; RemoteIO is correct for iOS.
Ryan C. Gordon <icculus@icculus.org> [Sat, 01 Sep 2012 00:25:17 -0700] rev 6412
Added testaudioinfo to the build.
Sam Lantinga <slouken@libsdl.org> [Sun, 02 Sep 2012 16:05:29 -0700] rev 6411
Use fast path for RGB 565 -> 32-bit XRGB 8888
Hello Sam,
while profiling ScummVM I noticed it was making use of the generic
BlitNToN blitter, which struck me as odd because it should be a very
classical codepath.
After investigating, I saw that in the blit op chooser:
{ 0x0000F800,0x000007E0,0x0000001F, 4, 0x00FF0000,0x0000FF00,0x000000FF,
0, NULL, Blit_RGB565_ARGB8888, SET_ALPHA },
{ 0x0000F800,0x000007E0,0x0000001F, 4, 0x000000FF,0x0000FF00,0x00FF0000,
0, NULL, Blit_RGB565_ABGR8888, SET_ALPHA },
{ 0x0000F800,0x000007E0,0x0000001F, 4, 0xFF000000,0x00FF0000,0x0000FF00,
0, NULL, Blit_RGB565_RGBA8888, SET_ALPHA },
{ 0x0000F800,0x000007E0,0x0000001F, 4, 0x0000FF00,0x00FF0000,0xFF000000,
0, NULL, Blit_RGB565_BGRA8888, SET_ALPHA },
Couldn't the optimized versions be used for NO_ALPHA too? I take it
that the resulting alpha component can be undefined as it should never
be used.
I tried this (see attached patch) and it worked perfectly (and
therefore faster) on ScummVM but there might be a trick (I'm not
expert at the semantics of SDL, ie NO_ALPHA, SET_ALPHA and COPY_ALPHA
there).
What do you think?
Cheers,
Bertrand
Sam Lantinga <slouken@libsdl.org> [Sun, 02 Sep 2012 16:03:56 -0700] rev 6410
Use fast path for RGB 565 -> 32-bit XRGB 8888
Hello Sam,
while profiling ScummVM I noticed it was making use of the generic
BlitNToN blitter, which struck me as odd because it should be a very
classical codepath.
After investigating, I saw that in the blit op chooser:
{ 0x0000F800,0x000007E0,0x0000001F, 4, 0x00FF0000,0x0000FF00,0x000000FF,
0, NULL, Blit_RGB565_ARGB8888, SET_ALPHA },
{ 0x0000F800,0x000007E0,0x0000001F, 4, 0x000000FF,0x0000FF00,0x00FF0000,
0, NULL, Blit_RGB565_ABGR8888, SET_ALPHA },
{ 0x0000F800,0x000007E0,0x0000001F, 4, 0xFF000000,0x00FF0000,0x0000FF00,
0, NULL, Blit_RGB565_RGBA8888, SET_ALPHA },
{ 0x0000F800,0x000007E0,0x0000001F, 4, 0x0000FF00,0x00FF0000,0xFF000000,
0, NULL, Blit_RGB565_BGRA8888, SET_ALPHA },
Couldn't the optimized versions be used for NO_ALPHA too? I take it
that the resulting alpha component can be undefined as it should never
be used.
I tried this (see attached patch) and it worked perfectly (and
therefore faster) on ScummVM but there might be a trick (I'm not
expert at the semantics of SDL, ie NO_ALPHA, SET_ALPHA and COPY_ALPHA
there).
What do you think?
Cheers,
Bertrand
Ryan C. Gordon <icculus@icculus.org> [Thu, 30 Aug 2012 12:58:58 -0700] rev 6409
Fixed compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Sun, 26 Aug 2012 20:27:25 -0400] rev 6408
Removed AC_GNU_SOURCE from SDL2's configure script.
Ryan C. Gordon <icculus@icculus.org> [Sat, 25 Aug 2012 22:21:16 -0400] rev 6407
Fixed compiler warning on some versions of GCC.
Ryan C. Gordon <icculus@icculus.org> [Sat, 25 Aug 2012 16:49:05 -0400] rev 6406
Fixed wglShareLists() call that used the wrong variable.
Ryan C. Gordon <icculus@icculus.org> [Sat, 25 Aug 2012 16:46:34 -0400] rev 6405
Removed _GNU_SOURCE define. We'll see if we need it.
Ryan C. Gordon <icculus@icculus.org> [Fri, 24 Aug 2012 19:39:51 -0400] rev 6404
Whoops, removed wrong variable.
Ryan C. Gordon <icculus@icculus.org> [Fri, 24 Aug 2012 19:34:28 -0400] rev 6403
Fixed a bunch of compiler warnings with Cygwin/MingW.
Sam Lantinga <slouken@libsdl.org> [Fri, 24 Aug 2012 10:04:07 -0700] rev 6402
Fixed bug 1561 - BSD joystick: Increase the number of uhid devices to scan
Brad Smith 2012-08-01 20:10:19 PDT
The attached patch from the OpenBSD ports tree is to increase the number of
uhid devices to scan for joysticks. It's somewhat easy to exhaust the default
number of devices which are scanned.
Sam Lantinga <slouken@libsdl.org> [Fri, 24 Aug 2012 10:03:05 -0700] rev 6401
Fixed bug 1561 - BSD joystick: Increase the number of uhid devices to scan
Brad Smith 2012-08-01 20:10:19 PDT
The attached patch from the OpenBSD ports tree is to increase the number of
uhid devices to scan for joysticks. It's somewhat easy to exhaust the default
number of devices which are scanned.
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 24 Aug 2012 13:10:29 -0300] rev 6400
Fixes bug #1506, Changing orientation on the Android device throws off touch scaling
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 24 Aug 2012 11:56:21 -0300] rev 6399
Fix for #1577, SDL_RenderCopyEx - Runtime check fails when dstrect == NULL and center == NULL
Thanks Michael Ehrmann.
Ryan C. Gordon <icculus@icculus.org> [Wed, 15 Aug 2012 21:00:33 -0400] rev 6398
Cleaned up testjoystick.c, improved usage of renderer API, added colors!
Ryan C. Gordon <icculus@icculus.org> [Wed, 15 Aug 2012 20:53:24 -0400] rev 6397
Updated testjoystick.c for SDL2 API and draw more information.
Fixes Bugzilla #1570.
Thanks to Ondra Hosek for the patch!
Ryan C. Gordon <icculus@icculus.org> [Wed, 15 Aug 2012 02:52:42 -0400] rev 6396
Minor typo fix.
Ryan C. Gordon <icculus@icculus.org> [Mon, 13 Aug 2012 19:36:36 -0400] rev 6395
Removed a function we don't call anymore.
Sam Lantinga <slouken@libsdl.org> [Sun, 12 Aug 2012 23:10:16 -0700] rev 6394
Renamed SDL_GL_CONTEXT_PROFILE_ES2 to SDL_GL_CONTEXT_PROFILE_ES
Sam Lantinga <slouken@libsdl.org> [Sun, 12 Aug 2012 11:16:24 -0700] rev 6393
Fixed bug 1565 - some small GL context creation enhancements
Matthias Bentrup 2012-08-09 12:53:17 PDT
With OpenGL 4.3 the ARB added a new context flag for context reset isolation
and renamed the existing ES2 profile bit to ES profile bit, as it can be used
to request GLES 3 compatible contexts, too.
This patch adds these changes to SDL on Linux and Windows.
Also SDL lacks the ability to create shared contexts. This patch also adds a
new GL attribute to enable context sharing. As casting a GL context to int is
not portable, I added only a boolean attribute
SDL_GL_SHARE_WITH_CURRENT_CONTEXT, which makes the new context share resources
with the context current on the creating thread.
Sam Lantinga <slouken@libsdl.org> [Sat, 11 Aug 2012 10:15:59 -0700] rev 6392
Fixed bug 1564 - SDL has no function to open a screen keyboard on Android.
Philipp Wiesemann implemented a general on-screen keyboard API for SDL, and I switched iOS code over to use it.
Ryan C. Gordon <icculus@icculus.org> [Thu, 09 Aug 2012 15:43:39 -0400] rev 6391
Fixed building on Mac OS X with Xcode 4.4 (OS X 10.8 SDK).
I think you'll need to install Xquartz, the external-but-official replacement
for Apple's X11, to get the Xlib headers: http://support.apple.com/kb/HT5293
Ryan C. Gordon <icculus@icculus.org> [Thu, 09 Aug 2012 14:28:45 -0400] rev 6390
Nasty attempt to fix building of testnative across various platforms.
The world longs for a hero named CMake.
Ryan C. Gordon <icculus@icculus.org> [Thu, 09 Aug 2012 14:14:41 -0400] rev 6389
Removed some unused variables that gcc 4.6.1 complains about.
Ryan C. Gordon <icculus@icculus.org> [Wed, 08 Aug 2012 13:44:58 -0400] rev 6388
Patched to compile on Mac OS X 10.8 SDK.
Ryan C. Gordon <icculus@icculus.org> [Sat, 04 Aug 2012 00:01:34 -0400] rev 6387
Bumped up Android SDK version in README.android.
Ryan C. Gordon <icculus@icculus.org> [Fri, 03 Aug 2012 23:59:05 -0400] rev 6386
Make Android port compatible with older API versions again.
Fixes Bugzilla #1563.
Thanks to Philipp Wiesemann for the patch!
Ryan C. Gordon <icculus@icculus.org> [Wed, 01 Aug 2012 21:41:54 -0400] rev 6385
OpenBSD: Add missing X11 libraries to autoconf.
Fixes Bugzilla #1551.
Thanks to Brad Smith for the patch!
Ryan C. Gordon <icculus@icculus.org> [Wed, 01 Aug 2012 21:03:46 -0400] rev 6384
Patched to compile on Windows.
Ryan C. Gordon <icculus@icculus.org> [Wed, 01 Aug 2012 20:57:03 -0400] rev 6383
Cleanups to Windows WGL_EXT_swap_control_tear code.
Ryan C. Gordon <icculus@icculus.org> [Wed, 01 Aug 2012 20:29:36 -0400] rev 6382
Add support for (GLX|WGL)_EXT_swap_control_tear.
This required a small public API change: SDL_GL_SetSwapInterval() now accepts
negative values, and SDL_GL_GetSwapInterval() doesn't report errors anymore
(if it can't work, it'll return zero as a reasonable default).
If you need to test for errors, such as a lack of swap_control_tear support,
check the results of SDL_GL_SetSwapInterval() when you set your desired
value.
Sam Lantinga <slouken@libsdl.org> [Tue, 31 Jul 2012 16:55:09 -0700] rev 6381
Fixed black screen on iOS
Kajetan Swierk <kajetan.swierk@gmail.com> [Sun, 22 Jul 2012 21:47:56 +0200] rev 6380
Fixed typo in one of WGL definition
Sam Lantinga <slouken@libsdl.org> [Sun, 22 Jul 2012 11:24:04 -0700] rev 6379
Fix for the Game Center status window always being behind the SDL window (untested!)
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Jul 2012 12:57:25 -0700] rev 6378
Fixed bug 1547 - Fix test(1) utilization within the autoconf script
Brad Smith 2012-07-19 11:39:09 PDT
I noticed this error from the OpenBSD/amd64 buildbot log..
../configure[15018]: test: -O2: unexpected operator/operand
The attached patch fixes the issue.
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 20 Jul 2012 15:22:48 -0300] rev 6377
Fixes Android_JNI_FileRead behaviour where reading past the end of a file returns zero instead of the number of bytes read.
Ryan C. Gordon <icculus@icculus.org> [Fri, 20 Jul 2012 13:52:25 -0400] rev 6376
Should fix type-punning compiler warnings.
Ryan C. Gordon <icculus@icculus.org> [Fri, 20 Jul 2012 13:33:15 -0400] rev 6375
Fixed some minor compiler warnings.
Ryan C. Gordon <icculus@icculus.org> [Fri, 20 Jul 2012 13:32:34 -0400] rev 6374
Fixed pthread_np.h detection on OpenBSD.
Sam Lantinga <slouken@libsdl.org> [Thu, 19 Jul 2012 09:36:58 -0700] rev 6373
More OpenGL ES fixes from Scott Percival
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 15:53:33 -0700] rev 6372
Fixed bug 1542 - SDL_Touch should reserve tilt_x and tilt_y
Gerry JJ 2012-07-14 19:42:23 PDT
The SDL_Touch structure currently reserves fields for tablet tilt and rotation
(marked "for future use"), but a tablet stylus can tilt in both x and y
directions in addition to rotation around itself (or, put another way, it can
rotate in x, y and z). So, the struct should probably reserve fields for both
tilt_x and tilt_y, not just tilt.
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 15:20:32 -0700] rev 6371
Switch the OpenGL ES renderers to request EGL OpenGL contexts
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 15:17:27 -0700] rev 6370
Improved simultaneous support for OpenGL and OpenGL ES
From Scott Percival
Okay, I think I have something for this. Tested it on GL and GLES
machines, it seems to work okay.
- Add a new SDL GL attribute SDL_GL_CONTEXT_EGL:
- Only useful for the X11 video driver at the moment
- Set to 1 for an EGL context, 0 to use the default for the video driver
- Default is 0, unless library is built for EGL only
- Should be set after SDL init, but before window/context
creation (i.e. same place you'd specify attributes for major/minor GL
version)
- After a lot of agony pondering the least-terrible way to go about
it, made it so that X11_GL_LoadLibrary and X11_GLES_LoadLibrary check
SDL_GL_CONTEXT_EGL. If no GL context exists yet, and the attribute
choice doesn't match with the checking function, then it changes all
the function pointers in the video driver and passes control on to the
new LoadLibrary method.
- Likewise, make X11_CreateWindow check this attribute before firing
off a call to X11_GL_GetVisual/X11_GLES_GetVisual
- Added a sanity check to the start of X11_GL_LoadLibrary
- Tidied up SDL_x11opengles.h
- Moved ownership of the gles_data structure over to
X11_GLES_LoadLibrary/UnloadLibrary
- Should incorporate the 3 fixes posted by Andre Heider
This is obviously quite a bit to take in, but is (at least) a proof of
concept for the approach I think EGL/GLX mingling should take. Any
comments/criticism is much appreciated.
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 15:02:48 -0700] rev 6369
Fix OpenGL initialization when OpenGL and OpenGLES are both available.
Both options default to "yes" via configure, and having libs/headers
for both installed is not unusual.
We default to OpenGL on this compile time combination, but can enforce
OpenGLES via setting the envvar SDL_VIDEO_X11_GLES.
This will be further refined based on community feedback.
Contributed by Andre Heider
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 15:01:41 -0700] rev 6368
Rename envvar to overwrite X11 EGL library name.
We cannot use SDL_VIDEO_GL_DRIVER for both EGL and GLES1/2, so rename
the envvar for EGL to SDL_VIDEO_EGL_DRIVER and keep SDL_VIDEO_GL_DRIVER
for GLES1/2.
Contributed by Andre Heider
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 14:48:32 -0700] rev 6367
Fix memory leaks in X11_CreateDevice error paths
Patch contributed by Andre Heider
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 14:14:55 -0700] rev 6366
Fixed bug 1543 - Fix dynamic loading of X libs on OpenBSD
Brad Smith 2012-07-18 13:43:34 PDT
autoconf patch to fix X dynamic loading of libraries on OpenBSD
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 13:57:39 -0700] rev 6365
Fixed bug 1543 - Fix dynamic loading of X libs on OpenBSD
Brad Smith 2012-07-18 13:43:34 PDT
autoconf patch to fix X dynamic loading of libraries on OpenBSD
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 13:08:19 -0700] rev 6364
Fixed bug 1434 - Add AltiVec detection for OpenBSD/powerpc
Brad Smith 2012-02-29 19:31:46 PST
The attached patch adds AltiVec detection for OpenBSD/powerpc. Please apply the
patch to both 2.0 and 1.2.
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 13:06:38 -0700] rev 6363
Fixed bug 1434 - Add AltiVec detection for OpenBSD/powerpc
Brad Smith 2012-02-29 19:31:46 PST
The attached patch adds AltiVec detection for OpenBSD/powerpc. Please apply the
patch to both 2.0 and 1.2.
Sam Lantinga <slouken@libsdl.org> [Wed, 18 Jul 2012 10:47:41 -0700] rev 6362
Updated the generic event check to try to compile instead of just look for library runtime function (fixes compiling on older Mac OS X SDKs)
Ryan C. Gordon <icculus@icculus.org> [Wed, 11 Jul 2012 21:55:36 -0400] rev 6361
Fixed configure script.
Ryan C. Gordon <icculus@icculus.org> [Wed, 11 Jul 2012 22:20:02 -0400] rev 6360
Patched to compile on FreeBSD 8.2.
Ryan C. Gordon <icculus@icculus.org> [Wed, 11 Jul 2012 22:04:19 -0400] rev 6359
Removed unused variable to silence compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Wed, 11 Jul 2012 20:56:15 -0400] rev 6358
Patched to compile on Windows with VS2008 and VS2010.
Ryan C. Gordon <icculus@icculus.org> [Wed, 11 Jul 2012 20:40:02 -0400] rev 6357
Patched to compile on Mac OS X with Xcode (Unix configure already worked).
Ryan C. Gordon <icculus@icculus.org> [Wed, 11 Jul 2012 20:20:04 -0400] rev 6356
Patched to compile on PowerPC Mac OS X.
Sam Lantinga <slouken@libsdl.org> [Wed, 11 Jul 2012 08:51:16 -0400] rev 6355
Fixed bug 1540: SDL 2.0 won't link on Visual Studio 2012 RC for x64
Thanks to Marek Pokorny for tracking this down and providing a fix.
Gabriel Jacobo <gabomdq@gmail.com> [Mon, 09 Jul 2012 18:08:06 -0300] rev 6354
Fixes #1422, removes global JNI Env, uses per thread copies, adds thread auto detaching.
Ryan C. Gordon <icculus@icculus.org> [Sun, 08 Jul 2012 07:20:50 -0400] rev 6353
Added OpenBSD "sndio" audio target.
Thanks to Brad Smith and the OpenBSD team for the patch!
Sam Lantinga <slouken@libsdl.org> [Thu, 05 Jul 2012 12:16:44 -0400] rev 6352
Removed unneeded audio buffer memset() for consistent behavior on all platforms.
Sam Lantinga <slouken@libsdl.org> [Thu, 05 Jul 2012 07:26:18 -0400] rev 6351
Marcus von Appen fixed bug 1535: SDL_UpdateWindowRects() SIGSEGV on X11 with out-of-bound rects
Using SDL_UpdateWindowRects () with SDL_Rect instances, that do not clip
to the bounds of the SDL_Window, causes a BadValue error on X11, if shared
memory is enabled:
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 142 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x5
Serial number of failed request: 67
Current serial number in output stream: 70
Attached is a test program to recreate the behaviour along with a simple
patch for SDL_x11framebuffer.c, which reduces the rect area to the window
bounds.
I am not sure, if XPutImage() is more robust here, so I applied it to the
non-shared memory version, too.
Sam Lantinga <slouken@libsdl.org> [Tue, 03 Jul 2012 23:52:02 -0400] rev 6350
Patrick Baggett implemented relative mouse mode on Win32
Here is my first rough attempt. "testrelative" feels right to me, but I'd like it someone else tested this, especially compared to Linux/OSX. The "Ctrl+r" to switch between relative and normal mouse movements seems to work flawlessly. With relative mouse movement, the only way to change focus is via keyboard. I'm not sure if that is the correct approach, but that would seem to be the most useful mode for games. Still, if my assumption is wrong, I can fix that no problem.
Sam Lantinga <slouken@libsdl.org> [Mon, 02 Jul 2012 08:37:48 -0400] rev 6349
Vittorio Giovara fixed bug 1528: move hint registration from SDLUikitAppDelegate
When subclassing SDLUikitAppDelegate you usually override the -postFinishLaunch
method so that you can (for example) call a different function than SDL_main.
As it is now, however, overriding -postFinishLaunch will bar out the
SDL_SetHint for the idle timer. Attached a simple patch the moves the hint
callback to the -application:didiFinishLaunchingWithOptions:
Sam Lantinga <slouken@libsdl.org> [Mon, 02 Jul 2012 08:33:10 -0400] rev 6348
Marcus von Appen fixed bug 1530: X11 touch initialisation does not check its file handles
Sam Lantinga <slouken@libsdl.org> [Mon, 02 Jul 2012 08:29:57 -0400] rev 6347
Marcus von Appen fixed bug 1529: CDROM detection misbehaviour for FreeBSD 7.x and newer
FreeBSD's device naming changed in several ways since FreeBSD 6.x. The attached
patch fixes the device naming scheme for FreeBSD 7 and newer (the currently
supported upstream version of FreeBSD).
Sam Lantinga <slouken@libsdl.org> [Mon, 25 Jun 2012 11:10:34 -0400] rev 6346
Disable the SDL event pump after the SDL main routine returns, since events will be dispatched by the Cocoa event loop.
Sam Lantinga <slouken@libsdl.org> [Sat, 23 Jun 2012 06:46:06 -0400] rev 6345
Added SDL_system.h to the various projects
Gabriel Jacobo <gabomdq@gmail.com> [Sun, 24 Jun 2012 21:10:17 -0300] rev 6344
Fix Android's SDLActivity for devices that may send more than one surfaceChanged
event in a row (ie, the Kindle Fire)
Sam Lantinga <slouken@libsdl.org> [Fri, 22 Jun 2012 23:31:22 -0400] rev 6343
Fix SDL_SetWindowSize with X11 non-RESIZABLE windows, patch by Pierre-Loup.
Sam Lantinga <slouken@libsdl.org> [Fri, 22 Jun 2012 19:19:18 -0400] rev 6342
Created a header file for system dependent API functions, and added SDL_iPhoneSetAnimationCallback()
Sam Lantinga <slouken@libsdl.org> [Fri, 22 Jun 2012 11:38:49 -0400] rev 6341
Fixed orientation and color when rendering to texture
Gabriel Jacobo <gabomdq@gmail.com> [Thu, 21 Jun 2012 14:01:47 -0300] rev 6340
Fixes #1524, improved xinput2 test
Gabriel Jacobo <gabomdq@gmail.com> [Thu, 21 Jun 2012 12:12:11 -0300] rev 6339
Automated tests fixes
Sam Lantinga <slouken@libsdl.org> [Thu, 21 Jun 2012 10:41:25 -0400] rev 6338
Updated Mac OS X and iOS projects
Gabriel Jacobo <gabomdq@gmail.com> [Thu, 21 Jun 2012 11:16:14 -0300] rev 6337
Fixes #1523 by removing inconsistent use of texture->access
Sam Lantinga <slouken@libsdl.org> [Thu, 21 Jun 2012 09:58:22 -0400] rev 6336
Fixed issue with tiling window managers (bug 1246)
Patch contributed by Driedfruit - thanks!
Gabriel Jacobo <gabomdq@gmail.com> [Wed, 20 Jun 2012 11:25:40 -0300] rev 6335
Fixes #1519, adds initialization to Android RWops internal variables.
Gabriel Jacobo <gabomdq@gmail.com> [Tue, 19 Jun 2012 20:16:45 -0300] rev 6334
small improvements in the iosbuild.sh script
Gabriel Jacobo <gabomdq@gmail.com> [Tue, 19 Jun 2012 18:25:04 -0300] rev 6333
Adds a simple command line utility (iosbuild.sh) to create iOS binaries for armv6, armv7 and i386
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Jun 2012 13:50:14 -0400] rev 6332
Fixed compiling with Visual Studio
Gabriel Jacobo <gabomdq@gmail.com> [Tue, 19 Jun 2012 14:19:05 -0300] rev 6331
Fixes #1522, improved Xinerama / Twinview support
Gabriel Jacobo <gabomdq@gmail.com> [Tue, 19 Jun 2012 13:57:42 -0300] rev 6330
Fixes #1422, restores GL context automatically under Android
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Jun 2012 12:29:53 -0400] rev 6329
Added command-line cross-compile support for iOS - Gabriel Jacobo will be adding iosbuild.sh and documentation for the process.
Sam Lantinga <slouken@libsdl.org> [Mon, 04 Jun 2012 12:31:14 -0400] rev 6328
Ignore SVN metadata
Gabriel Jacobo <gabomdq@gmail.com> [Sun, 03 Jun 2012 17:34:18 -0300] rev 6327
Actually functional, hopefully!, Xext test
Ryan C. Gordon <icculus@icculus.org> [Sun, 03 Jun 2012 05:05:34 -0400] rev 6326
Fix from 1.2 branch: ignore bogus Linux evdev joystick axes.
Ryan C. Gordon <icculus@icculus.org> [Sun, 03 Jun 2012 05:03:45 -0400] rev 6325
Changed a ">" to ">="
Ryan C. Gordon <icculus@icculus.org> [Sun, 03 Jun 2012 04:49:25 -0400] rev 6324
Linux evdev: ignore joystick axis events if they aren't in a sane range.
Sam Lantinga <slouken@libsdl.org> [Fri, 01 Jun 2012 20:31:50 -0400] rev 6323
Fixed SDL_config.h build include path
Sam Lantinga <slouken@libsdl.org> [Fri, 01 Jun 2012 20:06:48 -0400] rev 6322
Better test for Xext headers
Sam Lantinga <slouken@libsdl.org> [Fri, 01 Jun 2012 20:05:38 -0400] rev 6321
Fixed includes for Objective C
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 01 Jun 2012 19:51:08 -0300] rev 6320
RenderCopyEx,rotation and flipping for all hardware/software backends (#1308)
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 01 Jun 2012 19:42:15 -0300] rev 6319
Fix test for Xext headers (bug 1498), now it should fail properly in systems with the old headers.
Dimitris Zenios <dimitris.zenios@gmail.com> [Thu, 31 May 2012 19:23:30 +0300] rev 6318
1.Fixed a memory leak inside XInput2 code
2.Replaced XKeycodeToKeysym with XkbKeycodeToKeysym since XKeycodeToKeysym is deprecated in newer X11 version
3.Rewrote testime.c since it was disabled after SDL_compat.c removal
4.Take into account common arguments also in testrelative.c
Sam Lantinga <slouken@libsdl.org> [Thu, 31 May 2012 09:06:47 -0400] rev 6317
Updated with new configure.in changes
Dimitris Zenios <dimitris.zenios@gmail.com> [Thu, 31 May 2012 13:37:02 +0300] rev 6316
1.Moved all xinput2 functionality to its own file
2.Implement touch events using Xinput2.Leave evtouch as a fallback when xinput2 is not supported
Sam Lantinga <slouken@libsdl.org> [Wed, 30 May 2012 15:21:13 -0400] rev 6315
Updated iOS project to SDL 2.0
Sam Lantinga <slouken@libsdl.org> [Wed, 30 May 2012 11:45:09 -0400] rev 6314
Fixed define for consistency