summaryrefslogtreecommitdiff
path: root/changelog.txt
blob: 80ded9cd7b5a21c9cf05063c2cecbc402fc4364c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
SFML 2.3.2
==========

Also available on the website: http://www.sfml-dev.org/changelog.php#sfml-2.3.2

General
=======

* Fixed an issue where FindSFML.cmake couldn't find older versions of SFML (#903)
* Robust alCheck and glCheck macros (#917)
* Fixed FindSFML.cmake to use the uppercase FLAC name (#923)
* Added a CONTRIBUTING file so GitHub shows a message when creating a new issue (#932)


Window
======

Bugfixes
--------
* [Linux] Fixed an issue where the keypad's key weren't being detected (#910)
* [Linux] Revert to Xlib event handling (#934)
* [Linux] Fixed XK_* inconsistency in InpuImpl.cpp (#947)
* [Linux] Fix _NET_WM_PING messages not being replied to properly (#947)


Graphics
========

Bugfixes
--------
* Fixed clear bug on RenderTextures (#915)
* Fixed image file extension detection (#929, #930, #931)
* Secure function against random data return (#935, #942)


SFML 2.3.1
==========

Also available on the website: http://www.sfml-dev.org/changelog.php#sfml-2.3.1

Window
======

Bugfixes
--------
* [Android] Make sure a window still exists before trying to access its dimensions (#854)
* [Android] Added Android API level checks (#856)
* [Android] Updated the JNI/event handling code (#906)
* [Linux] Resized events are only spawned when the window size actually changes (#878, #893)
* [Linux] Whitelisted X SHAPE events (#879, #883)
* [Linux] Remap Unix keyboard when user changes layout (#895, #897)
* [Linux] Fix undefined behavior in ewmhSupported() (#892, #901)


Graphics
========

Bugfixes
--------
* Added support for GL_EXT_texture_edge_clamp for systems that don't expose GL_SGIS_texture_edge_clamp (#880, #882)


Audio
=====

Bugfixes
--------
* [Android] Fixed audio files not loading (and possibly crashing) (#855, #887)



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
========

Also available on the website: http://www.sfml-dev.org/changelog.php#sfml-2.2

General
=======

* Support for iOS and Android platform (#410, #440)
* Various documentation corrections (#438, #496, #497, #714)
* Fixed support for compilers on Debian FreeBSD (#380, #578)
* Added support for Visual Studio 2013 and proper support for the TDM builds (#482)
* Fixed CMake problems related to FindSFML and cached variables (#637, #684)
* Switched and enforced LF line endings (#708, #712)
* Updated OpenAL to version 1.15.1 (d077210)
* Made compiler and OS variable names much clearer in CMake files (9b0ed30)
* Re-enabled RPATH feature (e157e7a)
* Slight adjustments to the examples (#737)
* [FreeBSD] Various configuration fixes (#577, #578)
* [Linux] Updated FindSFML.cmake to add UDev to SFML's dependencies (#728, #729, #734, #736)
* [OS X] Fixed incorrect symlink in freetype.framework (#519)
* [OS X] CMake module for correct dependencies (#548)
* [OS X] Fixed SFML target for Xcode (#595, #596)
* [OS X] Updated implementation, mainly reverting to non-ARC (#601)
* [OS X] Fixed memory leaks and dead store (#615)
* [OS X] Improved event handling and performance (#617)
* [OS X] Reduced memory usage (#672, #698)
* [OS X] OS X 10.10 support (#691, #699)
* [OS X] Improve flexibility of dependencies' locations (#713)
* [Windows] Removed the hack that copied external libraries into SFML static libraries (dbf01a7)


System
======

Features
--------
* Added substring and replace functions to sf::String (#21, #355)
* Added toUtfX to sf::String (#501)
* Added fromUtfX functions to set the internal data to a string by converting from another string in a fixed encoding (#196)
* Added modulo operator for sf::Time (#429, #430)
* Added division operator for sf::Time (#453)

Bugfixes
--------
* Ensured a high resolution for sf::sleep (#439, #475)
* [Windows] Fixed stack unalignment by two internal functions (#412)


Window
======

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)
* [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)
* [OS X] Added support for retina displays (#353, #388)
* [Windows] Removed support for Windows 9x (#469)
* [Windows] Fixed typo in Windows keyboard implementation (#516)

Bugfixes
--------
* sf::Window::create() now also resets framerate limit (#371)
* Fixed OpenGL context leak (#635, #705)
* Fixed various joystick problems (memory leak, accelerometer detected, code refactoring) (#660, #686, #742, #743)
* Optimized sf::Window::waitEvent a bit, no sleep if events are available at first try (ff555d6)
* [Linux] Output error message when XOpenDisplay() fails (#508, #616)
* [Linux] Resize window with setSize when sf::Style::Resize is set (#466)
* [Linux] Fixed broken key repeat on window recreation (#564, #567)
* [OS X] Fixed KeyReleased not being fired in fullscreen mode (#465)
* [OS X] Fixed an issue where disconnecting the keyboard would cause a crash (#467)
* [OS X] Fixed unexpected resizing behavior (#468)
* [OS X] Improved resizing windows (#474)
* [OS X] Fixed memory leak with sf::Window::create() (#484)
* [OS X] Fixed menu shortcuts in fullscreen on OS X (#527)
* [OS X] Improved cursor hiding (#703)
* [OS X] Fixed right click not detected with trackpads (#716, #730)
* [Windows] Fixed joystick POV values (ef1d29b)
* [Windows] Fixed Unicode inconsistency (#635)
* [Windows] Fixed Alt+F4 and mouse clicks issues (#437, #457)
* [Windows] Send MouseButtonReleased event when the mouse is outside of the window (#455, #457)
* [Windows] Fixed sf::Joystick wrong registry usage (#701, #702, #706)


Graphics
========

Features
--------
* Provide more information about the loaded font in sf::Font (#164)
* Implemented a more flexible blending system (#298)
* Added strikethrough text style (#243, #362, #682)
* Slight optimization for sf::Text::setString (#413)
* Added subtraction operator for sf::Color (#114, #145)
* Optimized sf::Image::flipVertically/flipHorizontally (#555)
* Changed sf::Font measurements from int to float to allow better underline drawing (#693)

Bugfixes
--------
* Improved text quality for small and pixelated fonts (#228)
* Yet another fix for Intel GPUs with sf::RenderTexture (#418)
* Removed VTab since it causes issues and doesn't have a use nowadays (#442, #445, #460, #588)
* Fixed broken BDF and PCF font formats (#448)
* Fixed compilation issue with newer versions of GCC for sf::Rect (#458)
* Fixed resetGLStates() not explicitly setting the default polygon mode (#480)
* Fixed division-by-zero in sf::RectangleShape (#499)
* Fixed potential memory leak in sf::Font (#509)
* Updated glext and removed glxext (#511, #583)
* Make sure texture unit 0 is active when resetting sf::RenderTarget states (#523, #591)
* Fixed texture rect computation in fonts (#669)
* Improved rendering of underlined text (#593)
* Avoided repeated output of error messages (#566)
* Fixed text rendered with vertical offset on ascent and font size mismatch (#576)
* Fixed rounding problem for viewports (#598)
* Fixed sf::Shader::isAvailable() possibly breaking context management (#211, #603, #608, #603)
* Fixed sf::Texture::getMaximumSize() possibly breaking context management (#666)
* Fixed various sf::Text rendering issues (#692, #699)
* The texture matrix is now reset in sf::Texture::bind(NULL) (7c4b058)
* [Windows] Fixed DPI scaling causing strange window behavior (#679, #681, #688)


Audio
=====

Features
--------
* Added support for selecting the audio capture device (#220, #470)
* Make sf::SoundRecorder processing frequency configurable (#333)
* Added up vector to sf::Listener (#545)

Bugfixes
--------
* Prevented sf::SoundStream::setPlayingOffset() from restarting playing even when paused (#203, #592)
* Fixed sf::SoundBuffer contents not being able to be updated when still attached to sounds (#354, 367, #390, #589)
* Catch audio format error and prevent division by zero (#529)
* Fixed sf::SoundBuffer returning wrong duration for sounds containing more than ~4.3 million samples (2ff58ed)
* Optimized sf::Listener with a cache (d97e524)

Network
=======

Features
--------
* Added support for PUT and DELETE in sf::Http (#257, #312, #607)
* Added support for chunked HTTP transfers (#296, #337)
* Added support for 64-bit integers in sf::Packet (#710)
* Made sf::Ftp::sendCommand() public (2c5cab5)

Bugfixes
--------
* Checked socket descriptor limit (#153, #628, #683)
* Fixed sf::TcpSocket::connect()'s switching from blocking to non-blocking mode on immediate connection success (#221)
* Fixed FTP download and upload file sizes being limited by available RAM (#565, #590)
* Fixed C++11 compiler warnings for sf::Uint8 (#731, #732)



SFML 2.1
========

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
========

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