Sdl 1.2.14 pre-release!

No, we’re letting it bake for another day, since there were some
changes to the ALSA code today.On Sun, Oct 18, 2009 at 11:17 AM, vmmenon wrote:

Is the release happening today ?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

This is already fixed, see the pre-release here:
http://www.libsdl.org/tmp/SDL_mixer/On Sun, Oct 18, 2009 at 3:25 PM, jm3 wrote:

on os x 10.6.1:

Code:

./configure && make


gcc -D_GNU_SOURCE=1 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
-DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC
-DUSE_TIMIDITY_MIDI -I./timidity -DUSE_NATIVE_MIDI -I./native_midi -c
./native_midi/native_midi_mac.c -fno-common -DPIC -o
build/.libs/native_midi_mac.o
./native_midi/native_midi_mac.c:51: error: ‘NoteRequest’ undeclared here
(not in a function)
./native_midi/native_midi_mac.c:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
attribute’ before ‘gTunePlayer’
./native_midi/native_midi_mac.c: In function ‘native_midi_loadsong’:
./native_midi/native_midi_mac.c:134: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c:134: error: (Each undeclared identifier is
reported only once
./native_midi/native_midi_mac.c:134: error: for each function it appears
in.)
./native_midi/native_midi_mac.c:135: error: 'kTunePlayerComponentType’
undeclared (first use in this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_loadsong_RW’:
./native_midi/native_midi_mac.c:197: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c:198: error: 'kTunePlayerComponentType’
undeclared (first use in this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_freesong’:
./native_midi/native_midi_mac.c:239: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_start’:
./native_midi/native_midi_mac.c:251: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c:260: error: ‘kTuneStartNow’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_stop’:
./native_midi/native_midi_mac.c:310: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_active’:
./native_midi/native_midi_mac.c:322: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c:324: error: ‘TuneStatus’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c:324: error: expected ‘;’ before ‘ts’
./native_midi/native_midi_mac.c:326: error: ‘ts’ undeclared (first use in
this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_setvolume’:
./native_midi/native_midi_mac.c:335: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c: In function ‘BuildTuneSequence’:
./native_midi/native_midi_mac.c:432: error: ‘kFirstDrumkit’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:434: error: ‘kFirstGMInstrument’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:504: error: ‘kControllerVolume’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:516: error: ‘kControllerPan’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:567: error: ‘kControllerPitchBend’
undeclared (first use in this function)
./native_midi/native_midi_mac.c:618: error: ‘kEndMarkerValue’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c: In function ‘BuildTuneHeader’:
./native_midi/native_midi_mac.c:627: error: ‘myNoteRequest’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:628: error: ‘NoteAllocator’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:628: error: expected ‘;’ before
’myNoteAllocator’
./native_midi/native_midi_mac.c:633: error: ‘myNoteAllocator’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:638: error: 'kNoteAllocatorComponentType’
undeclared (first use in this function)
./native_midi/native_midi_mac.c:661: error: 'kGeneralEventNoteRequest’
undeclared (first use in this function)
./native_midi/native_midi_mac.c:662: error: expected expression before ')'
token
./native_midi/native_midi_mac.c:688: error: ‘kEndMarkerValue’ undeclared
(first use in this function)
make: *** [build/native_midi_mac.lo] Error 1


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Any more word on this? Good? Bad? Ugly?

This has been updated (and tested) with some ALSA fixes from
yesterday, and if everything looks good, we’ll release today!On Wed, Oct 7, 2009 at 1:19 AM, Sam Lantinga <@slouken> wrote:

Here is the PRE-RELEASE version of SDL 1.2.14:
http://www.libsdl.org/tmp/SDL-1.2.14.tar.gz
http://www.libsdl.org/tmp/SDL-1.2.14.zip

Please thoroughly test this, and report bugs to bugzilla:
http://bugzilla.libsdl.org/

Thanks to everybody who contributed feedback and patches for this release!

Here are the major changes since the last release:

General:

  • Fixed flicker when resizing the SDL window
  • Fixed crash in SDL_SetGammaRamp()
  • Fixed freeze in SDL_memset() with 0 length when assembly code is disabled.
  • Added SDL_NO_LOCK_KEYS environment variable to enable normal up/down
    events for Caps-Lock and Num-Lock keys.
  • Fixed audio quality problem when converting between 22050 Hz and 44100 Hz.
  • Fixed a threading crash when a few threads are rapidly created and complete.
  • Fixed crash loading BMP files saved with the scanlines inverted.
  • Fixed mouse coordinate clamping if SDL_SetVideoMode() isn’t called
    in response to SDL_VIDEORESIZE event.
  • Added doxygen documentation for the SDL API headers.

Unix:

  • Fixed potential memory corruption due to assembly bug with SDL_revcpy()
  • Fixed crashes trying to detect SSE features on x86_64 architecture.
  • Fixed assembly for GCC optimized 50% alpha blending blits.
  • Added configure option --enable-screensaver, to allow enabling the
    screensaver by default.
  • Use XResetScreenSaver() instead of disabling screensaver entirely.
  • Removed the maximum window size limitation on X11.
  • Fixed setting the X11 window input hint.
  • Fixed distorted X11 window icon for some visuals.
  • Fixed detecting X11 libraries for dynamic loading on 64-bit Linux.
  • SDL_GL_GetAttribute(SDL_GL_SWAP_CONTROL) returns the correct value
    with GLX_SGI_swap_control.
  • ?The SDL_VIDEO_FULLSCREEN_HEAD environment variable can be set to 0
    to place fullscreen SDL windows on the first Xinerama screen.
  • ?Added the SDL_VIDEO_FBCON_ROTATION environment variable to control
    output orientation on the framebuffer console.
    ? ?Valid values are:
    ? ? ? ?* not set - Not rotating, no shadow.
    ? ? ? ?* “NONE” - Not rotating, but still using shadow.
    ? ? ? ?* “CW” - Rotating screen clockwise.
    ? ? ? ?* “UD” - Rotating screen upside down.
    ? ? ? ?* “CCW” - Rotating screen counter clockwise.
  • Fixed DirectFB detection on some Linux distributions.
  • Added code to use the PS3 SPE processors for YUV conversion on Linux.
  • Improved support for PulseAudio
  • The Network Audio System support is now dynamically loaded at runtime.
  • Fixed crash with the MP-8866 Dual USB Joypad on newer Linux kernels.
  • Fixed crash in SDL_Quit() when a joystick has been unplugged.

Windows:

  • Verified 100% compatibility with Windows 7.
  • Prevent loss of OpenGL context when setting the video mode in
    response to a window resize event.
  • Improved mouse input responsiveness for first-person-shooter games.
  • The SDL_STDIO_REDIRECT environment variable can be used to override
    whether SDL redirects stdio to stdout.txt and stderr.txt.
  • Fixed video initialization with SDL_WINDOWID on Windows XP
  • Fixed dynamic object loading on Windows CE.

Mac OS X:

Enjoy!

? ? ? ?-Sam Lantinga, Founder and President, Galaxy Gameworks LLC


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

I can confirm that all of the new builds, build ok on Haiku. I didn’t
get time to test them all, but they are at least building ok.
-scottmcOn Mon, Oct 19, 2009 at 8:27 AM, Sam Lantinga wrote:

Any more word on this? ?Good? ?Bad? ?Ugly?

This has been updated (and tested) with some ALSA fixes from
yesterday, and if everything looks good, we’ll release today!

Hi,

Sam Lantinga wrote:

Great, can you enter a bug with steps here?
http://bugzilla.libsdl.org/

Thanks!

The bug is listed as #849 and Sam did provide a patch with revision 5120
(prior 1.2.14 release) that fixed the problem for the GDI driver as
introduced with revision 4478.

But now I noticed while testing our app under various OS combinations
that the revision 4478 introduced the same bug for directx, too! Bug
#849 has been closed with just a partial fix.

Can anyone supply a fix for directx?

Thanks,

Ronald> On Fri, Oct 16, 2009 at 3:01 AM, Ronald Lamprecht <R.Lamprecht at t-online.de> wrote:

Hi,

Sam Lantinga wrote:

Barring any showstoppers, this is going live on Sunday! :slight_smile:
Noooo - just detected a no_go for the average Windows user:

The mouse cursor totally disappears when other applications get active and
happen to move the mouse over the area of an SDL application!

Details:
When the SDL app releases the mouse grab and shows and redraws the cursors
to allow the user to use other applications the standard Windows cursor
appears when the mouse leaves the SDL app window. The SDL app cursor appears
and moves again when the mouse enters the SDL window area - this is correct
and unmodified to earlier releases.

But when the user once activates another application by clicking in another
window and move then the cursor back to SDL app window the standard cursor
disappears and no SDL cursor appears. The user has no idea where the mouse
is! Just when activating the SDL app by clicking blindly anywhere within the
SDL window the SDL cursor reappears. This behaviour has changed to earlier
SDL releases and is certainly a serious bug.

I just tested this feature on Windows XP with the todays prerelease of
1.2.14. The application is a MinGW compilation. I will check other operating
systems like Linux later on.

Greets,

Ronald