Commit Graph

1549 Commits

Author SHA1 Message Date
Marco Antognini
19012c66ea Updated Xcode templates and cmake script
What's new in the templates:
 - Removed support for 32 bits and gcc
 - Removed useless code
 - Removed custom warnings settings – let Xcode decide with its default values
 - Set default target version to CMAKE_OSX_DEPLOYMENT_TARGET

What's new in cmake script:
 - Added cmake options for archs and deployment target
 - Added minimum requirements checking
2014-04-15 20:19:12 +02:00
Marco Antognini
0a5f38157f Added support for OpenGL 3.2 context on OS X (close #84)
The Graphics module is not compatible with a core profile on Mac. If
you plan to use it, use OpenGL 2.1 (default).
2014-04-15 20:19:12 +02:00
Marco Antognini
b1c062d84f Fixed incorrect symlink in freetype.framework (close #519) 2014-04-15 20:19:12 +02:00
Marco Antognini
f6c94451fb Added some memory autorelease pools and nil'ify attribute 2014-04-15 20:19:12 +02:00
Marco Antognini
324d4a18e7 Fixed NSApplication not retaining its delegate 2014-04-15 20:19:12 +02:00
Marco Antognini
0d47056132 Updated Objective-C implementation to use ARC; removed i386 support 2014-04-15 20:19:09 +02:00
Marco Antognini
ac28902b57 Removed support for OS X 10.6 and below 2014-04-15 20:18:20 +02:00
Marco Antognini
0d6ddde07f Fixed unused parameter warnings 2014-04-15 20:18:20 +02:00
Marco Antognini
49f2a76d93 Fixed a few glitches in the documentation 2014-04-15 20:18:19 +02:00
Marco Antognini
b868833191 Improved coding style of OS X implementation
And fixed some typos.
2014-04-15 20:18:19 +02:00
Laurent Gomila
2204838384 Merge pull request #567 from abodelot/x11keyrepeat
Fixed disabling key repeat on Linux (#564)
2014-04-07 20:17:40 +02:00
Alexandre Bodelot
816bc93b04 Fixed disabling key repeat on Linux 2014-04-07 19:15:14 +02:00
Jan Haller
83fd76c40b Merge pull request #562 from CheezeCake/master
Fixed compile errors on FreeBSD
2014-04-06 19:26:41 +02:00
Jan Haller
18bbd23886 Window::create() now also resets framerate limit
Fixes #371
2014-04-06 17:14:24 +02:00
Jan Haller
e9334db424 Merge pull request #555 from varnie/master
Image::flipVertically(), Image::flipHorizontally() optimizations
2014-03-30 12:15:11 +02:00
CheezeCake
c584ddeea6 Fix typos and missing Joystick:: 2014-03-29 21:21:31 +01: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
0227e5c51e Minor formatting 2014-03-28 19:55:18 +01:00
Jan Haller
2c5cab5454 Made Ftp::sendCommand() public 2014-03-28 13:38:19 +01:00
Jan Haller
f9233e792b Output error message in SoundStream when bits are zero
Fixes #529
2014-03-25 23:11:06 +01:00
Jan Haller
50e3052773 Exposed up vector in sf::Listener API
Closes #545
2014-03-23 20:16:42 +01:00
Jan Haller
d97e5244af Optimized sf::Listener with a cache
Two optimizations:
- Get functions return locally stored value
- Set functions call OpenAL only if value has changed
2014-03-23 18:03:13 +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
varnie
83eab47c05 Image::flipVertically(), Image::flipHorizontally() optimizations. 2014-03-20 10:49:01 +06:00
Jonathan David Page
d7c9df7600 Adjust CMake module to provide correct deps on OSX
Module will now give the OpenGL framework as a dependency instead of the
nonexistent libGL.
2014-03-10 22:25:17 -04:00
Jan Haller
185c09a95c Added CMake find module for udev library 2014-03-09 13:10:42 +01:00
Bromeon
6b2a4c27db Merge pull request #528 from NoobsArePeople2/joystick
Adds name, manufacturer ID and product ID for joysticks.
2014-03-09 12:45:54 +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
a8ba35171a Merge pull request #540 from tomgalvin594/convert_tabs
Changed tabs to spaces in various files
2014-03-01 17:48:24 +01:00
Thomas Galvin
e1c40c9c77 Changed tabs to spaces in various files 2014-02-28 16:58:53 -05:00
Jan Haller
53f7ae5d09 Avoided unnecessary toLower string conversions 2014-02-19 16:12:17 +01:00
Jan Haller
79134ba665 Removed unnecessary null pointer checks in Window.cpp
Fixes #532
2014-02-19 15:46:06 +01:00
Jan Haller
83ea194f07 Fixed forgotten members in sf::Font::operator= 2014-02-15 18:37:35 +01:00
Bromeon
52661339de Merge pull request #509 from ophui-/master
Fixed potential memory leak in sf::Font
2014-02-15 18:25:19 +01: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
aeed9dddac Fixed typo in Windows keyboard implementation
Fixes #516
2014-02-06 20:22:21 +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
ophui
b5e7e431a5 Fixed potential memory leak in sf::Font 2013-12-15 19:01:43 +00:00
Laurent Gomila
4a300547f3 Added String::toUtf8/16/32 functions (#501) 2013-12-04 22:54:38 +01:00
Laurent Gomila
58f60f2279 Merge branch 'master' of github.com:LaurentGomila/SFML 2013-11-30 22:37:02 +01:00
Laurent Gomila
de3ea71631 Fixed divide by zero in Shape.cpp (#499) 2013-11-30 20:58:15 +01:00
Laurent Gomila
5fae13f8b3 Merge pull request #497 from wintertime/master
Fixed a few typos in comments
2013-11-26 22:33:14 -08:00
Sebastian Zhorel
ab361c4903 fix a few typos in comments 2013-11-26 22:56:35 +01:00
Laurent Gomila
ef1d29bf73 Fixed joystick POV values on Windows (PovX and PovY were inverted)
This reverts commit f1c30f106a, which contained the wrong file, and adds the right modification.
2013-11-26 22:30:51 +01:00
Laurent Gomila
f1c30f106a Fixed joystick POV values on Windows (PovX and PovY were inverted) 2013-11-26 22:28:03 +01:00