Commit Graph

380 Commits

Author SHA1 Message Date
binary1248
6959c1a826 Added notes to documentation and adjusted OpenGL example as a workaround for the side effects of making static functions that require a context work. If the user wants to make use of both sfml-graphics and OpenGL, they should make sure sf::Texture::getMaximumSize() and/or sf::Shader::isAvailable() are called at least once before setting their final context active as those functions will cause a context switch the first time they are called. 2014-08-15 13:39:06 +02:00
Laurent Gomila
337df1ea5f Merge branch 'master' of github.com:LaurentGomila/SFML 2014-07-11 17:43:50 +02:00
Laurent Gomila
8db958042e Improved documentation of SoundStream::onGetData (#650) 2014-07-11 17:43:18 +02:00
Lukas Dürrenberger
e625d79a04 Merge branch 'bugfix/soundstream' 2014-07-07 09:44:45 +02:00
binary1248
74e425a9ed Made sure SoundStream adhered to its documented behavior, added a hint to SoundStream and Sound documentation regarding setting the offset while stopped. 2014-07-04 22:24:48 +02:00
Foaly
09aae0240d Fixed calling SoundStream::setPlayingOffset() unpausing a paused SoundStream (#203), guard m_isStreaming by a mutex, fixed calling SoundStream::pause() before the stream thread starts not properly pausing the stream (http://en.sfml-dev.org/forums/index.php?topic=15197.0), minor documentation fix in SoundStream. Signed-off-by: binary1248 <binary1248@hotmail.com> 2014-07-04 20:48:23 +02:00
binary1248
362a590454 Fixed FTP download and upload file sizes being limited by available RAM (#565). 2014-07-04 20:40:18 +02:00
Jan Haller
1851dcb109 Clarified Window::setIcon() ownership semantics 2014-07-03 14:08:13 +02:00
Patrick
86983acaa4 Fixed a typo in the comments of Context.hpp 2014-06-20 22:17:06 +02:00
binary1248
bdcdfffe11 Replaced Text underline offset/thickness with nicer font dependent values. 2014-06-12 00:49:23 +02:00
binary1248
da79517b36 Fix bitmap font resize failing silently when resizing to an unsupported pixel size (#448), fixed getKerning returning scaled values even for bitmap fonts. 2014-06-12 00:49:23 +02:00
Stefan Schindler
9690a7edee Fixed minor documentation issue. 2014-06-06 13:09:25 +02:00
firefly2442
749cbb2ff8 add HTTP support for PUT and DELETE
Signed-off-by: binary1248 <binary1248@hotmail.com>
2014-05-22 10:45:19 +02:00
Jan Haller
cdf32a7881 Merge branch 'blendmodes'
Introduces the sf::BlendMode class that supports separate blend functions and equations.
Replaces the old sf::BlendMode enum.

Further changes:
* Fixed merge conflicts resulting from GLExtensions in mobile branch
* GLExtensions: Added GLEXT_blend_equation_separate
* Added file BlendMode.cpp
* Replaced occurrences of sf::BlendMode value parameters with const-references
* Adapted rendering code in sf::RenderTarget
2014-04-26 19:43:36 +02:00
James Cowgill
b188814937 Fix Config.hpp so SFML compiles on Debian FreeBSD 2014-04-25 15:41:47 +01:00
Jan Haller
3a7b425fb7 Improved sf::Http documentation concerning HTTPS 2014-04-23 19:31:31 +02:00
Laurent Gomila
f99bbfc534 Reviewed the sf::BlendMode class (added a constructor, made minor modifications in comments) 2014-04-22 21:37:39 +02:00
Laurent Gomila
80431deef4 Reviewed the sensor API 2014-04-20 12:58:50 +02:00
Laurent Gomila
ffd4b71722 Fixed erroneous comments in the sf::Touch class documentation 2014-04-20 12:58:47 +02:00
Jonathan De Wachter
7daaaa649e Implemented sensor API 2014-04-20 12:58:13 +02:00
Jonathan De Wachter
45f23cdbbb Made the OpenGL ES implementation available on ARM-based Linux OSes 2014-04-20 12:58:00 +02:00
Jonathan De Wachter
634c3dc2a7 [Android] Fixed memory leak when loading asset files 2014-04-20 12:57:38 +02:00
Jonathan De Wachter
4626e95491 [Android] Fixed WindowHandle and getSystemHandle() 2014-04-20 12:57:23 +02:00
Laurent Gomila
2c409e5145 Added touch events and the sf::Touch class (and iOS implementation) 2014-04-20 12:56:53 +02:00
Jonathan De Wachter
60894d1c1a [Android] Rewrote CMake scripts to compile SFML with our new toolchain 2014-04-20 12:56:40 +02:00
Laurent Gomila
3872b27569 Reworked the sfml-main module, added Main.hpp, moved the main() internal entry point for iOS from sfml-window to sfml-main 2014-04-20 12:53:17 +02:00
Jonathan De Wachter
63bbe2c91e Added the Android port 2014-04-20 12:52:04 +02:00
Laurent Gomila
d50f94ca97 Fixed render buffers not correctly resized on orientation changes 2014-04-20 12:48:02 +02:00
Laurent
e5ee38fc26 Added the iOS port 2014-04-20 12:48:00 +02:00
Jan Haller
e9243b7ef6 Improved documentation for sf::Shape and derived classes 2014-04-19 11:21:35 +02:00
Marco Antognini
49f2a76d93 Fixed a few glitches in the documentation 2014-04-15 20:18:19 +02:00
Jan Haller
666da801a1 Cached sf::Text attributes
Two optimizations:
- If a value remains the same, nothing happens
- Recompute geometry only before drawing and bound access, not after each set

Closes #413
2014-03-29 18:34:49 +01:00
Jan Haller
59e920cf10 Fixed several Doxygen warnings, limited input to *.hpp files 2014-03-29 12:42:13 +01:00
Jan Haller
1319a0a096 Improved Ftp::sendCommand() documentation 2014-03-29 11:54:20 +01:00
Jan Haller
2c5cab5454 Made Ftp::sendCommand() public 2014-03-28 13:38:19 +01:00
Jan Haller
50e3052773 Exposed up vector in sf::Listener API
Closes #545
2014-03-23 20:16:42 +01:00
Jan Haller
1fd6fae073 Minor improvements in sf::Ftp documentation 2014-03-22 14:41:46 +01:00
Jan Haller
9d5eb14dde Minor improvements in sf::Window and sf::RenderWindow documentation 2014-03-22 14:12:59 +01:00
Jan Haller
ec494babbe Passed BlendMode objects by const-reference 2014-03-16 11:58:45 +01:00
Jan Haller
330db58bc1 Improved documentation 2014-03-16 11:54:32 +01:00
Jan Haller
fab46cdfd7 Improved formatting 2014-03-16 10:50:27 +01:00
Jan Haller
75784dbb9a Omitted "Blend" prefix for nested BlendMode enums
BlendMode::Factor instead of BlendMode::BlendFactor
BlendMode::Equation instead of BlendMode::BlendEquation
2014-03-12 12:22:47 +01:00
Jan Haller
05d196d86d Fixed compile error (trailing enum comma) and other minor things 2014-03-12 12:19:38 +01:00
Jan Haller
fe7d6f513d Created branch for experimental blending mode API
See issue #298.
Based on branch 'new_blending_api' of github.com:tomgalvin594/SFML.
2014-03-09 13:38:39 +01:00
Thomas Galvin
951b774c70 Implemented a more flexible blending system (fixes #298) 2014-03-05 17:19:14 -05:00
NoobsArePeople2
29c0f14911 Adds name, vendor ID and product ID for joysticks.
- Implemented on Windows, Mac OS and Linux.
- Adds sf::Joystick::Identification structure to hold
  name, vendor ID and product ID.
2014-03-04 09:01:46 -08:00
Jan Haller
09860f7a02 Added String::substring() method
Based on pull request #355 from abodelot
2014-02-09 22:23:06 +01:00
Jan Haller
12d81304e6 Updated copyright year to 2014 2014-02-06 20:08:26 +01:00
Jan Haller
48db71fb69 Added String::replace() methods
Based on pull request #355 from abodelot
2014-02-06 12:39:59 +01:00
Jan Haller
e074b6775e Added documentation note on coordinates and undistorted rendering 2014-02-05 22:28:06 +01:00