Commit Graph

352 Commits

Author SHA1 Message Date
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
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
Laurent Gomila
4a300547f3 Added String::toUtf8/16/32 functions (#501) 2013-12-04 22:54:38 +01:00
Strahinja Val Markovic
c3813f71ee Fix 'instanciate' typo; correct is 'instantiate' 2013-11-26 12:57:54 -08:00
Laurent Gomila
f69a35e63d Whitespace fix 2013-11-01 15:14:18 +01:00
Mario Liebisch
306b77bfc5 Added support for chunked http transfers
sf::Http now understands transfers that are sent using Chunked Transfer
Encoding (RFC 2616; section 3.6.1).
2013-10-24 11:49:00 +02:00
Laurent Gomila
db77b76d91 Merge pull request #470 from Foaly/MultiSoundInput
Added support for selecting the audio capture device (fixes #220)
2013-10-11 07:39:07 -07:00
Foaly
b1ad9dceac Added support for selecting audio capture device (fixes #220) 2013-10-09 09:24:02 +02:00
Laurent Gomila
fe12270d62 Fixed window size not correctly updated when changed through Window::setSize (#474) 2013-10-08 22:59:53 +02:00
Laurent Gomila
4dcd1f9c75 Fixed compiler warnings in sf::Rect (#458) 2013-10-02 22:39:57 +02:00
Marco Antognini
6f68192272 Update © dates 2013-09-20 18:52:57 +02:00
Laurent Gomila
5ffe258320 Forgot to include <Utf.hpp> in <String.hpp> 2013-08-24 23:43:33 +02:00
Laurent Gomila
c6651bfd30 Fixed stupid compile error in previous commit 2013-08-24 23:40:48 +02:00
Laurent Gomila
a89874f733 Added String::fromUtf8/16/32 functions (#196) 2013-08-24 14:45:59 +02:00
Jan Haller
6cf30e1751 Added operator for division of two sf::Time objects 2013-08-21 12:20:47 +02:00
Laurent Gomila
5173f51d52 Minor corrections in comments and syntax 2013-08-15 09:28:43 +02:00
Laurent Gomila
424c424376 Minor indentation and namespace fix 2013-08-12 19:02:12 +02:00
Laurent Gomila
a7f7c57a72 Merge pull request #430 from Foaly/timeOperators
Added modulo operators for sf::Time (#429)
2013-08-11 22:46:21 -07:00
Laurent Gomila
b9d0295c89 Added SoundRecorder::setProcessingInterval (#333) 2013-08-11 19:39:52 +02:00
Laurent Gomila
7caf2e64b6 Added Font::getInfo to retrieve various information about the font (for now, only the family name) (#164) 2013-08-09 16:02:53 +02:00
Laurent Gomila
6d4c844959 Added operator - for sf::Color (#114) 2013-08-09 14:57:32 +02:00
Laurent Gomila
6c1899d0f7 Updated version number 2013-07-21 09:30:08 +02:00
Foaly
0c0b3c2a3a Modulo operators for sf::Time (fixes #429) 2013-07-17 12:24:24 +02:00
Christian Neumüller
891e9de0fe Don't reimplement std::copy().
Using std::copy() potentially makes available helpful checks in debug mode and
can also lead to faster code by calling memcpy() in release mode.
The <algorithm> header was already included.
2013-06-24 00:51:31 +02:00
Laurent Gomila
7554c86f7d Optimized Shader::setParameter functions, by using a cache internally (#316, #358) 2013-06-18 11:55:21 +02:00
Laurent Gomila
da96ec5811 Improved the performances of Window::getSize() (the size is now cached) 2013-06-12 20:27:18 +02:00
Laurent Gomila
11837e9fc8 sf::Rect::contains and sf::Rect::intersects now handle rectangles with negative dimensions correctly (#219) 2013-05-11 22:56:17 +02:00
Laurent Gomila
d9629cfca7 Fixed typo in sf::Transformable documentation 2013-05-11 08:51:20 +02:00
Laurent Gomila
b92dc572e3 Fixed documentation of sf::Image 2013-05-10 09:48:55 +02:00
Laurent Gomila
ae11207cdf InputStream.hpp was missing from the source file listing in CMake files, and added an important comment in the doc of InputStream::read (#349) 2013-05-09 13:37:24 +02:00