diff --git a/CMakeLists.txt b/CMakeLists.txt index c395158a3..8ac15c3c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/Config.cmake) # setup version numbers set(VERSION_MAJOR 2) -set(VERSION_MINOR 2) +set(VERSION_MINOR 3) set(VERSION_PATCH 0) # add the SFML header path diff --git a/changelog.txt b/changelog.txt index dc73ee20e..b4944c3cd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,85 @@ +SFML 2.3 +======== + +Also available on the website: http://www.sfml-dev.org/changelog.php#sfml-2.3 + +General +======= + +* Examples only link against sfml-main in release mode (#610, #766) +* Replaced unsigned int with std::size_t for array indices and sizes (#739) +* Fixed some issues with the Doxygen documentation (#750) +* Added support for EditorConfig (#751) +* Hide success message for CMake in quiet mode (#753) +* Improved documentation for statuses with sf::Ftp (#763) +* Moved stb_image into the extlibs directory (#795) +* Changed the SOVERSION to major.minor (#812) +* Fixed warnings about switch-statements (#863) +* Added missing includes in the general headers (#851) +* [Android] Updated toolchain file and dependencies (#791) +* [Linux] Fixed missing pthread dependency (#794) +* [OS X] Relaxed CMake installation rules regarding framework dependencies (#767) + +Window +====== + +Features +-------- +* Added new events for handling high-precision scrolling (#95, #810, #837) +* Switched from Xlib to XCB (#200, #319, #694, #780, #813, #825) +* Added support for OpenGL 3 core context creation (#654, #779) + +Bugfixes +-------- +* Fixed glXSwapIntervalSGI being broken for some driver implementations (#727, #779) +* Fixed simultaneous context operations causing crashes on some AMD hardware (#778, #779) +* Fixed joystick identification (#809, #811) +* [iOS] Fixed various issues including stencil bits, device orientation and retina support (#748) +* [iOS] Fixed inconsistency between sf::Touch::getPosition and touch events (#875) +* [Linux] Fixed Alt+F4 not getting triggered in window mode (#274) +* [Linux] Fixed Unix joystick stuff (#838) +* [OS X] Fixed typo in JoystickImpl.cpp to prevent a crash (#762, #765) +* [OS X] Fixed an issue in InputImpl::getSFOpenGLViewFromSFMLWindow (#782, #792) + +Graphics +======== + +Features +-------- +* Replaced GLEW with loader generated by glLoadGen (#779) +* Added a new constructor to sf::Color that takes an sf::Uint32 (#722) +* Updated stb_image to v2.02 (#777) +* Updated FreeType to v2.5.5 (#799, #804) +* Added checks for software OpenGL (#870) + +Bugfixes +-------- +* Fixed GL_ARB_compatibility not being detected (#859) +* Fixed pixel format selection (#862) +* Bumped back the OpenGL version requirement to 1.1 (#858) + +Audio +===== + +Features +-------- +* Dropped libsndfile and started using Vorbis, FLAC and OGG directly (#604, #757) +* Added a FLAC file to the sound example (#815) + +Bugfixes +-------- +* Fixed access violation error in the destructor of sf::AudioDevice (#30, #602) +* [OS X] Fixed threading issue with sf::SoundStream and OpenAL (#541, #831) + +Network +======= + +Bugfixes +-------- +* Fixed sf::TcpSocket not handling partial sends properly (#749, #796) + + + SFML 2.2 ======== @@ -54,7 +136,7 @@ Features -------- * Added window methods to request and to check focus (#518, #525, #613, #723, #735) * Provide name, manufacturer ID and product ID via sf::Joystick (#152, #528) -* [FreeBDS] Joystick support (#477) +* [FreeBSD] Joystick support (#477) * [OS X] Improved integration with menus and dock actions (#11) * [OS X] Support for OpenGL 3.2 (#84) * [OS X] Improved fullscreen support (#343) @@ -162,11 +244,97 @@ Bugfixes SFML 2.1 ======== -Please refer to the release announcement: http://en.sfml-dev.org/forums/index.php?topic=76.msg86454#msg86454 +Also available on the website: http://www.sfml-dev.org/changelog.php#sfml-2.1 + +General +======= + +* Updated the Window and OpenGL examples (got rid of GLU and immediate mode) + +Window +====== + +Features +-------- +* Now using inotify on Linux to avoid constantly polling joystick connections (#96) +* Add keypad return, equal and period keys support for OS X +* Improved mouse events on OS X regarding fullscreen mode +* Improved mouse events on OS X (#213, #277) +* Improved reactivity of setMousePosition on OS X (#290) +* Added support for right control key on OS X +* Improved TextEntered for OS X (#377) +* Improved the performances of Window::getSize() (the size is now cached) +* Added the WM_CLASS property to SFML windows on Linux +* Fake resize events are no longer sent when the window is moved, on Linux +* Pressing ALT or F10 on Windows no longer steals the focus + +Bugfixes +-------- +* Fixed MouseMove event sometimes not generated when holding left button on Windows (#225) +* Fixed ContextSettings ignored when creating a 3.x/4.x OpenGL context on Linux (#258) +* Fixed ContextSettings ignored on Linux when creating a window (#35) +* Fixed windows bigger than the desktop not appearing on Windows (#215) +* Fixed KeyRelease events sometimes not reported on Linux (#404) +* Fixed mouse moved event on OS X when dragging the cursor (#277) +* Fixed KeyRelease event with CMD key pressed (#381) +* Fixed taskbar bugs on Windows (#328, #69) +* Fixed Window::getPosition() on Linux (#346) +* Unicode characters outside the BMP (> 0xFFFF) are now correctly handled on Windows (#366) + +Graphics +======== + +Features +-------- +* Checking errors in RenderTarget::pushGLStates() to avoid generating false error messages when user leaves unchecked OpenGL errors (#340) +* Optimized Shader::setParameter functions, by using a cache internally (#316, #358) + +Bugfixes +-------- +* Fixed bounding rect of sf::Text ignoring whitespaces (#216) +* Solved graphics resources not updated or corrupted when loaded in a thread (#411) +* Fixed white pixel showing on first character of sf::Text (#414) +* sf::Rect::contains and sf::Rect::intersects now handle rectangles with negative dimensions correctly (#219) +* Fixed Shape::setTextureRect not working when called before setTexture + +Audio +===== + +Features +-------- +* loadFromStream functions now explicitly reset the stream (seek(0)) before starting to read (#349) + +Bugfixes +-------- +* Added a workaround for a bug in the OS X implementation of OpenAL (unsupported channel count no properly detected) (#201) +* Fixed SoundBuffer::loadFromStream reading past the end of the stream (#214) + +Network +======= + +Features +-------- +* Replaced the deprecated gethostbyname with getaddrinfo (#47) +* Minor improvements to sf::Packet operators (now using strlen and wcslen instead of explicit loops) (#118) + +Bugfixes +-------- +* Fixed non-blocking connection with a sf::TcpSocket on Windows +* Fixed TCP packet data corruption in non-blocking mode (#402, #119) +* On Unix systems, a socket disconnection no longer stops the program with signal SIGPIPE (#72) SFML 2.0 ======== -Please refer to the release announcement: http://en.sfml-dev.org/forums/index.php?topic=76.msg78424#msg78424 +Also available on the website: http://www.sfml-dev.org/changelog.php#sfml-2.0 + +No changelog available. Everything changed. + + + +Older Releases +============== + +See the website for changelogs of older releases: http://www.sfml-dev.org/changelog.php diff --git a/include/SFML/Config.hpp b/include/SFML/Config.hpp index 81bdfef8c..58e979746 100644 --- a/include/SFML/Config.hpp +++ b/include/SFML/Config.hpp @@ -30,7 +30,7 @@ // Define the SFML version //////////////////////////////////////////////////////////// #define SFML_VERSION_MAJOR 2 -#define SFML_VERSION_MINOR 2 +#define SFML_VERSION_MINOR 3 #define SFML_VERSION_PATCH 0 diff --git a/license.txt b/license.txt index 5e44a8de5..0d6e05fe0 100644 --- a/license.txt +++ b/license.txt @@ -32,5 +32,6 @@ External libraries used by SFML * libjpeg is public domain * stb_image and stb_image_write are public domain * freetype is under the FreeType license or the GPL license -* libogg is under the BSD license* libvorbis is under the BSD license +* libogg is under the BSD license +* libvorbis is under the BSD license * libflac is under the BSD license diff --git a/readme.txt b/readme.txt index bd0475799..28beb60df 100644 --- a/readme.txt +++ b/readme.txt @@ -15,25 +15,26 @@ Stefan Schindler (tank@sfml-dev.org) Lukas Dürrenberger (eXpl0it3r@sfml-dev.org) binary1248 (binary1248@hotmail.com) Artur Moreira (artturmoreira@gmail.com) +Mario Liebisch (mario@sfml-dev.org) Download -------- You can get the latest official release on SFML website (http://www.sfml-dev.org/download.php). -You can also get the current development version from the git repository (https://github.com/LaurentGomila/SFML). +You can also get the current development version from the git repository (https://github.com/SFML/SFML). Install ------- -Follow the instructions of the tutorials (http://www.sfml-dev.org/tutorials/2.2/), there is one for each platform/compiler that SFML supports. +Follow the instructions of the tutorials (http://www.sfml-dev.org/tutorials/), there is one for each platform/compiler that SFML supports. Learn ----- There are several places to learn SFML: -* The official tutorials (http://www.sfml-dev.org/tutorials/2.2/) -* The online API documentation (http://www.sfml-dev.org/documentation/2.2/) -* The community wiki (https://github.com/LaurentGomila/SFML/wiki/) +* The official tutorials (http://www.sfml-dev.org/tutorials/) +* The online API documentation (http://www.sfml-dev.org/documentation/) +* The community wiki (https://github.com/SFML/SFML/wiki/) * The community forum (http://en.sfml-dev.org/forums/) (or http://fr.sfml-dev.org/forums/ for French people) Contribute