Change Log¶
Note
These lists are not exhaustive.
v0.9 -> v1.0 (based on SFML-1.9)¶
sfml.system
module updated to the new API interfacesfml.window
module updated to the new API interfacesfml.graphics
module updated to the new API interfacesfml.audio
module updated to the new API interfacesfml.network
module updated to the new API interface- Code entirely clean and follow convention
sfml.audio
module importssfml.system
system module with it- The official ftp example implemented
v1.0 -> v1.1 (based on SFML2-RC)¶
sfml.system.Position
moved to built-in type and renamedsfml.system.Vector2
sfml.system.Size
removed; usesfml.system.Vector2
insteadsfml.system.Vector3
added- Full variable/method/function/class name are clean
- Error message handler implemented
- open/load functions raises IOError and not sfml.system.SFMLException
sfml.graphics.Shader
‘s constants (VERTEX and FRAGMENT) removedsfml.graphics.Shader
‘s constructors implementedsfml.graphics.Shader.set_parameter()
implementedsfml.graphics.Texture.update()
implementedsfml.graphics.Vertex
implementedsfml.graphics.VertexArray
implemented- Shader example added
- Pong example added
sfml.graphics.Color
are unpackablesfml.network
module usessfml.system.Time
sfml.audio
module usessfml.system.Time
sfml.graphics.Image.show()
is implemented and platform-independentsfml.audio.SoundStream
andsfml.audio.SoundRecorder
can be subclassed
v1.1 -> v1.2 (based on SFML2-RC)¶
- The license has changed: GPLv3 -> LGPLv3
- Unit tests partially implemented
- Load/open/create methods are depreciated (use from_foo instead) [1]
- Save/conversion methods are depreciated (use to_bar instead) [2]
- Copy methods are depreciated (use the copy module instead)
sfml.Window.events
returns now a generator- Voip example implemented
- Improved
sfml.audio.Chunk
- Fixe bug in
sfml.audio.SoundStream
sfml.graphics.View.move()
takes now two integer (x and y) instead of a vector- Fixe bug in
sfml.audio.SoundRecorder
(when calling stop()) sfml.system.sleep()
works now well in multi-threaded applicationsfml.graphics.Color
is copiable via the copy module- Added unary operator to
sfml.system.Vector2
andsfml.system.Vector3
- Fixed
sfml.graphics.Rectangle.bottom
sfml.network.IpAddress
can be compared- Ubuntu packages available for 12.04LTS and 12.10
- Installer script for Arch Linux users available
- sfeMovie available as add-on
- Fixe bug in sf.MouseMoveEvent.position
- Fixe various threading issues in the network module (GIL not released)
- Fixe bug in views returned by sf.RenderTarget (view wasn’t linked)
- Fixe sf.TransformableDrawable (its properties work)
- Documentation entirely revised
- Website redesigned
- Install C/Cython API to code your own extensions using the bindings (1/3)
- Window.opened is deprecated, use Window.is_open property instead
- Improve setup.py to detect Cython and/or force its usage
v1.2 -> v1.3 (based on SFML2)¶
- Removed deprecated methods
- Updated all modules to new SFML interface (SFML2)
- Fixed issue #60 (convert_coords methods return None no matter what)
- Added intersphinx mapping for official python documentation
- Install C/Cython API to code your own extensions using the bindings (2/3)
- Fedora packages available
- Ubuntu packages available for 13.04LTS
- Thor library available as add-on
- Implemented
Thread
,Mutex
andLock
- Some official tutorials have been translated
- Implemented OpenGL example
- Spacial music example takes the Z axis into account #25
- Replaced X11 dependency with ctype usage
- Added two new examples: extending and embedding.
- Removed sf.Time.reset function
- Removed SFMLException and replaced with the standard ones
- Removed vsync and visibility trackers from sf.Window
[1] | E.g: Do not use sf.Texture.load_from_file(filename) but sf.Texture.from_file(filename) instead. |
[2] | E.g: Do not use sf.Texture.image.save_to_file() but sf.Texture.to_image().to_file() . |