Change Log¶
Note
These lists are not exhaustive.
v0.9 -> v1.0 (based on SFML-1.9)¶
sfml.systemmodule updated to the new API interfacesfml.windowmodule updated to the new API interfacesfml.graphicsmodule updated to the new API interfacesfml.audiomodule updated to the new API interfacesfml.networkmodule updated to the new API interface- Code entirely clean and follow convention
sfml.audiomodule importssfml.systemsystem module with it- The official ftp example implemented
v1.0 -> v1.1 (based on SFML2-RC)¶
sfml.system.Positionmoved to built-in type and renamedsfml.system.Vector2sfml.system.Sizeremoved; usesfml.system.Vector2insteadsfml.system.Vector3added- 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.Verteximplementedsfml.graphics.VertexArrayimplemented- Shader example added
- Pong example added
sfml.graphics.Colorare unpackablesfml.networkmodule usessfml.system.Timesfml.audiomodule usessfml.system.Timesfml.graphics.Image.show()is implemented and platform-independentsfml.audio.SoundStreamandsfml.audio.SoundRecordercan 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.eventsreturns 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.Coloris copiable via the copy module- Added unary operator to
sfml.system.Vector2andsfml.system.Vector3 - Fixed
sfml.graphics.Rectangle.bottom sfml.network.IpAddresscan 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,MutexandLock - 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() . |