Permalink
Browse files

Updated NEWS.rdoc, README.rdoc, and ruby-sdl-ffi.gemspec for version …

…0.3.
  • Loading branch information...
1 parent b3e5483 commit 65d41d2c6e47757742fe41e7bcb3c377ee7c56fa @jacius jacius committed Aug 8, 2010
Showing with 42 additions and 6 deletions.
  1. +37 −1 NEWS.rdoc
  2. +3 −3 README.rdoc
  3. +2 −2 ruby-sdl-ffi.gemspec
View
@@ -1,5 +1,42 @@
= NEWS
+
+== Ruby-SDL-FFI 0.3
+
+* Ruby-SDL-FFI can now work on Mac OS X without the need for a special
+ interpreter (i.e. rsdl). If this causes issues for you, you can
+ disable it by setting the RUBYSDLFFI_NOCOCOA environment variable to
+ "true".
+
+* Added the SDL::set_app_name() method. This sets the application name
+ in a platform-appropriate way, or does nothing if the platform is
+ not supported. On Mac OS X, it changes the text in the menu bar.
+ Support for other platforms may be added in the future.
+
+* Ruby-SDL-FFI now reads the RUBYSDLFFI_PATH environment variable for
+ additional library load paths. It should be a colon-separated
+ (Linux/Mac) or semicolon-separated (Windows) list of directories to
+ search for libraries.
+
+* The SDL::Palette class is now Enumerable. You can iterate over it
+ with #each, #collect, etc. You can also read a specific index using
+ #at (but not #[], which is reserved for struct access).
+
+* SDL.GL_GetAttribute() now returns an integer, like it should.
+ Before, it would return an FFI::Buffer.
+
+* SDL.GetKeyRepeat() is now easier to use. It returns an Array of two
+ integers: [delay, interval]. Before, you had to pass two output
+ buffers, then extract the integers afterwards.
+
+* Fixed a NoMethodError in SDL.WaitEvent().
+
+* Ruby-SDL-FFI now uses FFI::Buffer instead of FFI::MemoryPointer in
+ many places. This should give a slight performance boost on JRuby,
+ and potentially other platforms.
+
+
+
== Ruby-SDL-FFI 0.2
* The values of SDL::AUDIO_U16SYS and SDL::AUDIO_S16SYS are now
@@ -18,7 +55,6 @@
-
== Ruby-SDL-FFI 0.1
* Initial release of Ruby-SDL-FFI. Bindings are provided for these
View
@@ -1,8 +1,8 @@
= Ruby-SDL-FFI
-Version:: 0.2
-Date:: 2009-10-30
+Version:: 0.3
+Date:: 2010-08-08
Homepage:: http://github.com/jacius/ruby-sdl-ffi/
Author:: John Croisant <jacius@gmail.com>
@@ -31,7 +31,7 @@ libraries (Rubygame [4], Gosu [5], etc.).
== Caveats
-Ruby-SDL-FFI is still in VERY EARLY DEVELOPMENT STAGES. That means:
+Ruby-SDL-FFI is still in EARLY DEVELOPMENT STAGES. That means:
* It may not work correctly (or at all).
* It may not be complete.
View
@@ -4,7 +4,7 @@
#
# Ruby-SDL-FFI - Ruby-FFI bindings to SDL
#
-# Copyright (c) 2009 John Croisant
+# Copyright (c) 2009, 2010 John Croisant
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
@@ -38,7 +38,7 @@ end
$gemspec = Gem::Specification.new do |s|
s.name = "ruby-sdl-ffi"
- s.version = "0.2"
+ s.version = "0.3"
s.authors = ["John Croisant"]
s.email = "jacius@gmail.com"
s.homepage = "http://github.com/jacius/ruby-sdl-ffi/"

0 comments on commit 65d41d2

Please sign in to comment.