- Scan uhid0 through uhid63, instead of uhid0 through uhid3.
- If a uhid reports no usable inputs, skip it. This way your keyboard
and mouse don't show up as (unusable) joysticks.
General Notes
* Fixed assembly register clobbering in CPU info routines
* Fixed memory stomp when using stretch blit on large images
* Fixed pixel corruption with overlapping blits
* SDL_JOYSTICK_DEVICE can be a colon separated list of joystick devices
* Disabled MMX blitters since they don't compile on modern compilers
Unix Notes
* Fixed crash in joystick code on newer Linux kernels
* Fixed channel swizzling for ALSA target with 6-channel output
* Use the OpenGL GLX_EXT_swap_control extension if available
* XRandR support is disabled by default because it causes desktop reconfiguring. It can be enabled with the SDL_VIDEO_X11_XRANDR=1
environment variable, or by applying this patch: http://hg.libsdl.org/SDL/raw-rev/8ec3036098df
Windows Notes
* Fixed SDL_GL_ACCELERATED_VISUAL handling
* Fixed application state handling with ALT-Tab
* Fixed occasional crash handling WM_ACTIVATEAPP in Direct X code
* Fixed UTF-8 decoding of Russian characters
Mac OS X Notes
* Fixed building and running on Mac OS X 10.7 (Lion)
* Added cast macros for correct usage with C++:
SDL_reinterpret_cast(type, expression)
SDL_static_cast(type, expression)
* Added SDL_VIDEO_FULLSCREEN_DISPLAY as a preferred synonym for
SDL_VIDEO_FULLSCREEN_HEAD on X11.
* Added SDL_DISABLE_LOCK_KEYS environment variable to enable normal
up/down events for Caps-Lock and Num-Lock keys.
SDL 1.2.13 is a minor bug fix release.
General Notes
* Fixed link error when building with Intel Compiler 10.
* Removed stray C++ comment from public headers.
Unix Notes
* Fixed crash in SDL_SoftStretch() on secure operating systems.
* Fixed undefined symbol on X11 implementations without UTF-8 support.
* Worked around BadAlloc error when using XVideo on the XFree86 Intel Integrated Graphics driver.
* Scan for all joysticks on Linux instead of stopping at one that was removed.
* Fixed use of sdl-config arguments in sdl.m4
Mac OS X Notes
* SDL now builds on Mac OS X 10.5 (Leopard).
* Fixed high frequency crash involving text input.
* Fixed beeping when the escape key is pressed and UNICODE translation is enabled.
* Improved trackpad scrolling support.
* Fixed joystick hat reporting for certain joysticks.
1.2.12:
Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling
of the screensaver on Mac OS X and X11.
Also, many pkgsrc patches were integrated.
Package changes:
Merge SDL-arts, SDL-esound, and SDL-nas packages back as options,
all defaulting to on (add "-arts -esound -nas" to PKG_OPTIONS.SDL
to get the previous behaviour of this package). Reason: trying to
get and stay in sync with upstream, who decided not to take back
the relevant changes. Ok jmmv@
Also follow upstream w.r.t. library version numbers; bump
BUILDLINK_API_DEPENDS for that (no real reason to diverge here).
Most patches have been integrated upstream.
Changes in 1.2.10:
1.2.10:
If SDL_OpenAudio() is passed zero for the desired format
fields, the following environment variables will be used
to fill them in:
SDL_AUDIO_FREQUENCY
SDL_AUDIO_FORMAT
SDL_AUDIO_CHANNELS
SDL_AUDIO_SAMPLES
If an environment variable is not specified, it will be set
to a reasonable default value.
Added support for the SDL_VIDEO_FULLSCREEN_HEAD environment
variable, currently supported on X11 Xinerama configurations.
Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
Added current_w and current_h to the SDL_VideoInfo structure,
which is set to the desktop resolution during video intialization,
and then set to the current resolution when a video mode is set.
SDL_SetVideoMode() now accepts 0 for width or height and will use
the current video mode (or the desktop mode if no mode has been set.)
Added SDL_GetKeyRepeat()
Added SDL_config.h, with defaults for various build environments.
* Added support for direct color 8-bpp surfaces
* Altivec optimized blitters
* SDL.dll works on Windows 95 again
* Dropping a document onto an SDL app passes it as a command line parameter in MacOS X
* Fixed crash trying to allocate hardware surfaces on MacOS X
* Fixed short read problem with SDL_RWFromMem()
* Fixed gcc parse errors in SDL_audio.h on Windows
* Added support for Tru64 UNIX 4.X
* Improved RISC OS support
* Numerous improvements to the Atari port
* SDL_OPENGLBLIT is officially obsolete
* Fixed compiling under newer versions of gcc
* Fixed floating point exception with Linux 2.6 joysticks
* Added 4/6 channel surround sound support on ALSA (not 3D audio)
* Fixed mouse coordinate inversion on MacOS X
* Added a CoreAudio sound driver for MacOS X
* Added MacOS X Xcode build environment support
* Updated QNX support for QNX6
* Improved Atari port, including OSMesa support
* Numerous other bug fixes and platform support improvements
with gcc-3.4.x
left out a part which requires support for the "named parameter"
syntax which is not present on NetBSD-1.6.x/gcc-2.95.x
This is obviously not needed because the real variable names and
the abstract parameter names are identical.
(see PR pkg/25855 by John R. Shannon for details)
The next SDL release will probably require to install gcc-3.3.x
on NetBSD-1.6.x.
Changes:
* SDL no longer sets a fatal signal handler for SIGPIPE
* Fixed modifier key state on MacOS X
* Added support for remote XVideo
* Fixed static linking on MacOS X
* Fixed compiling with broken Linux 2.6 headers
* Fixed mouse cursor visibility and focus events on MacOS X
* Added support for /dev/joy* on Free/Net/OpenBSD
* Fixed problems with CD-ROM audio playback on MacOS X 10.1
* Added dynamic GL library loading to MacOS Carbon support
* Added function to create RWops from const memory: SDL_RWFromConstMem()
* Fixed build problems with newer versions of automake
* Fixed MacOS X libtool framework support
* Added CPU feature detection functions to SDL_cpuinfo.h
* Fixed illegal instruction crash using 3DNow on Intel processors
* Fixed asm issues with mmx.h and gcc 3.3
* Fixed crash calling app defined window proc
* Fixed long long constant warnings in GCC 3.3.1
* Fixed joystick open problems on BSD
* Fixed X11 mode line crash with only one video mode
Fixes PR pkg/22462.
Okayed by wiz@.