May is SDL release month!

SDL 2.0 is almost ready for release!
It is currently being used by a number of commercial games on all supported
platforms, and is being seen by millions of people in Valve’s recent game
updates.

Please bang on the current snapshot and see if there are any issues for you:
http://www.libsdl.org/tmp/SDL-2.0.zip

Please add fixes for any issues you have to Bugzilla:
http://bugzilla.libsdl.org/

Here are the big pieces still pending that I am aware of:

  • Final decision on sensor API
  • Adding synchronous callback support for iOS application state changes
  • ???

Cheers!
–Sam

Just went try it… mouse wheel stopped working for me o_o Ubuntu
12.04 64-bit. I’ll check my code to make sure I didn’t do something
stupid but that seems like a big problem to me.

I’ll go try testing fullscreen later because last time I tried it
still broke up miserably.

2013/4/2, Sam Lantinga :> SDL 2.0 is almost ready for release!

It is currently being used by a number of commercial games on all supported
platforms, and is being seen by millions of people in Valve’s recent game
updates.

Please bang on the current snapshot and see if there are any issues for
you:
http://www.libsdl.org/tmp/SDL-2.0.zip

Please add fixes for any issues you have to Bugzilla:
http://bugzilla.libsdl.org/

Here are the big pieces still pending that I am aware of:

  • Final decision on sensor API
  • Adding synchronous callback support for iOS application state changes
  • ???

Cheers!
–Sam

Looked up, this is the code (everything else is pretty much not
specific to SDL and would have already broken up otherwise):

// Mouse wheel?
case SDL_MOUSEWHEEL:
if (!event.wheel.windowID)
break;
if (event.wheel.y > 0)
input.cursor.wheel_up = 1;
if (event.wheel.y < 0)
input.cursor.wheel_down = 1;
break;

The only thing that seems like it could be suspicious is the window
check (which I use to make sure the cursor is within the window). Did
anything change that I’m not aware of?

2013/4/2, Sik the hedgehog <@Sik_the_hedgehog>:> Just went try it… mouse wheel stopped working for me o_o Ubuntu

12.04 64-bit. I’ll check my code to make sure I didn’t do something
stupid but that seems like a big problem to me.

I’ll go try testing fullscreen later because last time I tried it
still broke up miserably.

2013/4/2, Sam Lantinga :

SDL 2.0 is almost ready for release!
It is currently being used by a number of commercial games on all
supported
platforms, and is being seen by millions of people in Valve’s recent game
updates.

Please bang on the current snapshot and see if there are any issues for
you:
http://www.libsdl.org/tmp/SDL-2.0.zip

Please add fixes for any issues you have to Bugzilla:
http://bugzilla.libsdl.org/

Here are the big pieces still pending that I am aware of:

  • Final decision on sensor API
  • Adding synchronous callback support for iOS application state changes
  • ???

Cheers!
–Sam

In SDL_string.c, lines 34 and 35, the definitions for SDL_atoi and
SDL_atof are obviously incorrect due to infinite recursion. I suspect
that SDL_atoi should call SDL_atoi_inline instead of itself, and the
same for SDL_atof.On 2013-04-02 22:12, Sam Lantinga wrote:

SDL 2.0 is almost ready for release!
It is currently being used by a number of commercial games on all supported
platforms, and is being seen by millions of people in Valve’s recent game
updates.


Rainer Deyke (rainerd at eldwood.com)

Suddenly the mouse wheel issue fixed itself after a reboot… Wait, what? o_O

2013/4/3, Rainer Deyke :> On 2013-04-02 22:12, Sam Lantinga wrote:

SDL 2.0 is almost ready for release!
It is currently being used by a number of commercial games on all
supported
platforms, and is being seen by millions of people in Valve’s recent game
updates.

In SDL_string.c, lines 34 and 35, the definitions for SDL_atoi and
SDL_atof are obviously incorrect due to infinite recursion. I suspect
that SDL_atoi should call SDL_atoi_inline instead of itself, and the
same for SDL_atof.


Rainer Deyke (rainerd at eldwood.com)


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

In SDL_string.c, lines 34 and 35, the definitions for SDL_atoi and
SDL_atof are obviously incorrect due to infinite recursion. I suspect
that SDL_atoi should call SDL_atoi_inline instead of itself, and the
same for SDL_atof.

Good catch! Now fixed in hg changeset d4b70d310ade.

Most apps probably used the inline version in the headers, and probably
wouldn’t have hit this bug; the ones in SDL_string.c are only there so
you can access the symbol if you want to link against it directly or
dlsym() it.

–ryan.

Aside from the 2 you mentioned, there are two things:

  • Joystick Support for Android, I see that the patch was applied adn then removed because someone reported that the minimal android version was bumped up.
    But that is not exactly true, you really need to build against a newer SDK version, but you can run the app on older versions… I suggest someone to check that (I would do that if I know how :slight_smile: )
    This one is related to the Sensor API because of the old Accelerometer inteface.
  • The Sensor API would be used for iOS too, right?

from the Roadmap:

  • "Create desktop video mode change notification"
    This one should be reatively easy (at last on OSX is)

Also, is the Forcefeedback API well tested on OS X?
I am not sure if this is a problem with SDL or with the xbox 360 controller driver… (if this is the case, ignore this question and please recommend me something with forcefeedmack which works on OSX, thanks)

Cheers!
Rodrigo Rocha

Sam Lantinga wrote:> SDL 2.0 is almost ready for release!

It is currently being used by a number of commercial games on all supported platforms, and is being seen by millions of people in Valve’s recent game updates.

Please bang on the current snapshot and see if there are any issues for you:

http://www.libsdl.org/tmp/SDL-2.0.zip (http://www.libsdl.org/tmp/SDL-2.0.zip)

Please add fixes for any issues you have to Bugzilla:

http://bugzilla.libsdl.org/ (http://bugzilla.libsdl.org/)

Here are the big pieces still pending that I am aware of:

  • Final decision on sensor API

  • Adding synchronous callback support for iOS application state changes

  • ???

Cheers!

–Sam


Rodrigo Cardoso Rocha
@RodrigoRodrigoR - twitter.com/RodrigoRodrigoR
Chibata Creations - chibatacreations.com
Joystick Mapper for Mac - joystickmapper.com

Sam wrote:

  • Adding synchronous callback support for iOS application state changes

This again :slight_smile: I’m ready to test across OS X, windows, and iOS, except,
of course, for this missing bit. I know we went back and forth a lot
with this.

Has anything been decided internally? I’m pretty much willing to deal
with anything that fits within the needs of the APIs. I’d be more than
happy to pilot test stuff, too.

[>] Brian

While we’re at it, can we pretty please get the CMake script fixed for
pthreads? http://bugzilla.libsdl.org/show_bug.cgi?id=1709

I understand that it masks a bug in the pthread emulation code which needs
further investigation, but as things stand now every default-setting Linux
build of SDL2 I’ve tried (x86, x86_64 and armhf) deadlocks on init.On 4 April 2013 02:07, Brian Barnes wrote:

Sam wrote:

  • Adding synchronous callback support for iOS application state changes

This again :slight_smile: I’m ready to test across OS X, windows, and iOS, except, of
course, for this missing bit. I know we went back and forth a lot with
this.

Has anything been decided internally? I’m pretty much willing to deal
with anything that fits within the needs of the APIs. I’d be more than
happy to pilot test stuff, too.

[>] Brian

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

Something that would be great before the release date are project templates for currently supported projects (visual studio, xcode, etc)
I am almost sure someone posted here xcode templates a few weeks ago.------------------------
Rodrigo Cardoso Rocha
@RodrigoRodrigoR - twitter.com/RodrigoRodrigoR
Chibata Creations - chibatacreations.com
Joystick Mapper for Mac - joystickmapper.com

If CMake has been chosen as build system replacement, would it be possible
to integrate it in time for SDL2?
VittorioOn Thu, Apr 4, 2013 at 5:57 AM, RodrigoCard wrote:

**
Something that would be great before the release date are project
templates for currently supported projects (visual studio, xcode, etc)
I am almost sure someone posted here xcode templates a few weeks ago.


Rodrigo Cardoso Rocha
@RodrigoRodrigoR - twitter.com/RodrigoRodrigoR
Chibata Creations - chibatacreations.com
Joystick Mapper for Mac - joystickmapper.com


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

We have a GSOC project idea around a cross-platform build system (cmake
or whatever) but won’t know if SDL got accepted as mentoring
organization until April 8th. If accepted, one would also need to find a
student interested to work on this. The timeline for such a project
would not be May … but rather Sept.On 4/4/2013 2:43 AM, Vittorio Giovara wrote:

If CMake has been chosen as build system replacement, would it be
possible to integrate it in time for SDL2?
Vittorio

On Thu, Apr 4, 2013 at 5:57 AM, RodrigoCard <cuecax at gmail.com <mailto:cuecax at gmail.com>> wrote:

Something that would be great before the release date are project
templates for currently supported projects (visual studio, xcode, etc)
I am almost sure someone posted here xcode templates a few weeks ago.


------------------------------------------------------------------------

Rodrigo Cardoso Rocha
@RodrigoRodrigoR - twitter.com/RodrigoRodrigoR
<http://twitter.com/RodrigoRodrigoR>
Chibata Creations - chibatacreations.com <http://chibatacreations.com>
Joystick Mapper for Mac - joystickmapper.com
<http://joystickmapper.com>

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

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

This: http://bugzilla.libsdl.org/show_bug.cgi?id=1431

I think it must be easy to solve but I suck at autotools (yes, I’m for
cmake).

2013/4/4 Andreas Schiffler > We have a GSOC project idea around a cross-platform build system (cmake

or whatever) but won’t know if SDL got accepted as mentoring organization
until April 8th. If accepted, one would also need to find a student
interested to work on this. The timeline for such a project would not be
May … but rather Sept.

On 4/4/2013 2:43 AM, Vittorio Giovara wrote:

If CMake has been chosen as build system replacement, would it be
possible to integrate it in time for SDL2?
Vittorio

On Thu, Apr 4, 2013 at 5:57 AM, RodrigoCard wrote:

Something that would be great before the release date are project
templates for currently supported projects (visual studio, xcode, etc)
I am almost sure someone posted here xcode templates a few weeks ago.


Rodrigo Cardoso Rocha
@RodrigoRodrigoR - twitter.com/RodrigoRodrigoR
Chibata Creations - chibatacreations.com
Joystick Mapper for Mac - joystickmapper.com


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


SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


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

Shame on me, I left a comment in that ticket saying that I would fix it
soon…almost a year ago :slight_smile:

Anyway, better late than never! Let me know if the patch I attached there
fixes the problem for you (I tested in my system and running with
–disable-static or --disable-shared or none at all seem to work fine now).

2013/4/4 Carles Pag?s <page.lists at gmail.com>> This: http://bugzilla.libsdl.org/show_bug.cgi?id=1431

I think it must be easy to solve but I suck at autotools (yes, I’m for
cmake).

2013/4/4 Andreas Schiffler

We have a GSOC project idea around a cross-platform build system (cmake
or whatever) but won’t know if SDL got accepted as mentoring organization
until April 8th. If accepted, one would also need to find a student
interested to work on this. The timeline for such a project would not be
May … but rather Sept.

On 4/4/2013 2:43 AM, Vittorio Giovara wrote:

If CMake has been chosen as build system replacement, would it be
possible to integrate it in time for SDL2?
Vittorio

On Thu, Apr 4, 2013 at 5:57 AM, RodrigoCard wrote:

Something that would be great before the release date are project
templates for currently supported projects (visual studio, xcode, etc)
I am almost sure someone posted here xcode templates a few weeks ago.


Rodrigo Cardoso Rocha
@RodrigoRodrigoR - twitter.com/RodrigoRodrigoR
Chibata Creations - chibatacreations.com
Joystick Mapper for Mac - joystickmapper.com


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


SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


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


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


Gabriel.

The patch spacing was broken and didn’t apply to the unpacked zip (perhaps
you used the repo and it has changed?) Anyway, after some minor
modifications it applied and it fixes the issue, so thanks!

I attach the reworked patch in case it is of use.

2013/4/5 Gabriel Jacobo

Shame on me, I left a comment in that ticket saying that I would fix it
soon…almost a year ago :slight_smile:

Anyway, better late than never! Let me know if the patch I attached there
fixes the problem for you (I tested in my system and running with
–disable-static or --disable-shared or none at all seem to work fine now).

2013/4/4 Carles Pag?s <@Carles_Pages>

This: http://bugzilla.libsdl.org/show_bug.cgi?id=1431

I think it must be easy to solve but I suck at autotools (yes, I’m for
cmake).

2013/4/4 Andreas Schiffler

We have a GSOC project idea around a cross-platform build system
(cmake or whatever) but won’t know if SDL got accepted as mentoring
organization until April 8th. If accepted, one would also need to find a
student interested to work on this. The timeline for such a project would
not be May … but rather Sept.

If CMake has been chosen as build system replacement, would it be
possible to integrate it in time for SDL2?
Vittorio

Something that would be great before the release date are project
templates for currently supported projects (visual studio, xcode, etc)
I am almost sure someone posted here xcode templates a few weeks ago.


Rodrigo Cardoso Rocha
@RodrigoRodrigoR - twitter.com/RodrigoRodrigoR
Chibata Creations - chibatacreations.com
Joystick Mapper for Mac - joystickmapper.com


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


SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


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


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


Gabriel.


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

-------------- next part --------------
A non-text attachment was scrubbed…
Name: bug1431.patch
Type: application/octet-stream
Size: 4784 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130405/74922abc/attachment.obj>>> On 4/4/2013 2:43 AM, Vittorio Giovara wrote:

On Thu, Apr 4, 2013 at 5:57 AM, RodrigoCard wrote:

Hi,

quite a while ago (before I also subscribed to the mail list), I
submitted a small patch on the forum which allows one to disconnect the
event loop from the video loop, in case one does not need the video
capabilities of SDL. Since SDL is one of the few crossplatform
libraries for HID access, it would be great to have this option. More
arguments for it are in the forum post.

http://forums.libsdl.org/viewtopic.php?t=8855

Unfortunately the patch does not fix it for mouse and keyboard access
yet…
For fixing that, I can highly recommend looking at Chuck’s
implementation of HID, which was based on SDL (some years back), but
then adapted for additional features - and disconnecting from the
videoloop.

In other words… it would be great if the input device access could be
decoupled in such a way that it can be used as a separate module.

sincerely,
MarijeOn Tue, 2 Apr 2013 13:12:55 -0700 Sam Lantinga wrote:

SDL 2.0 is almost ready for release!
It is currently being used by a number of commercial games on all
supported platforms, and is being seen by millions of people in
Valve’s recent game updates.

Please bang on the current snapshot and see if there are any issues
for you: http://www.libsdl.org/tmp/SDL-2.0.zip

Please add fixes for any issues you have to Bugzilla:
http://bugzilla.libsdl.org/

Here are the big pieces still pending that I am aware of:

  • Final decision on sensor API
  • Adding synchronous callback support for iOS application state
    changes
  • ???

Cheers!
–Sam

2013/4/3 Scott Percival

While we’re at it, can we pretty please get the CMake script fixed for
pthreads? http://bugzilla.libsdl.org/show_bug.cgi?id=1709

I understand that it masks a bug in the pthread emulation code which needs
further investigation, but as things stand now every default-setting Linux
build of SDL2 I’ve tried (x86, x86_64 and armhf) deadlocks on init.

Turns out there was no bug being masked, the semaphore emulation uses
pthread mutexes, and those need the -pthread flag.

Fixed in http://hg.libsdl.org/SDL/rev/a2bddc1fb02f--
Gabriel.

Fantastic work. Just tested builds with and without semaphore emulation,
that magic juju -pthreads flag seems to have done the trick. Thanks!On 20 April 2013 00:32, Gabriel Jacobo wrote:

2013/4/3 Scott Percival <@Scott_Percival>

While we’re at it, can we pretty please get the CMake script fixed for
pthreads? http://bugzilla.libsdl.org/show_bug.cgi?id=1709

I understand that it masks a bug in the pthread emulation code which
needs further investigation, but as things stand now every default-setting
Linux build of SDL2 I’ve tried (x86, x86_64 and armhf) deadlocks on init.

Turns out there was no bug being masked, the semaphore emulation uses
pthread mutexes, and those need the -pthread flag.

Fixed in http://hg.libsdl.org/SDL/rev/a2bddc1fb02f


Gabriel.


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

Umm, it’s May now…
Where is SDL 2.0 ?------------------------
JeZ+Lee
JessePalser <AT> Gmail <DOT> com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com

They never said which day of May :stuck_out_tongue:

Somebody should set up a countdown ala Exodus that ends at the last
day of the month XD

2013/5/1, JeZ-l-Lee :> Umm, it’s May now…

Where is SDL 2.0 ?


JeZ+Lee
JessePalser <AT> Gmail <DOT> com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com