Added setting of the timer resolution in the Win32 implementation of Sleep and rewrote the Unix Sleep implementation to use nanosleep instead of pthread_cond_timedwait to prevent spurious wakeups from causing the function to return too early.
Additional comments regarding sleep implementation.
Merge pull request #475 from binary1248/timer_resolution_fix

Increased the resolution of sf::sleep on Windows, improved the implementation of sf:sleep on Linux
Fixed IpAddress::getLocalAddress on OS X and improved SocketImpl for Unix & Windows
Added joystick implementation for FreeBSD (#477)
Fixed window size not correctly updated when changed through Window::setSize (#474)
Made compiler and OS variable names much clearer in CMake files
Added support for selecting audio capture device (fixes #220)
Improved resizing window on OS X (#474)
Merge pull request #470 from Foaly/MultiSoundInput

Added support for selecting the audio capture device (fixes #220)
Fixed sf::SoundBuffer returning wrong duration for sounds containing more than ~4.3 million samples
Fixed RenderTarget::resetGLStates() not explicitly setting the default polygon mode (glPolygonMode) (#480)
Fixed MSVC version detection code in CMake files
Changed VS version to MSVC version and added support for VS 2013 and TDM compilers.
Merge pull request #482 from eXpl0it3r/master

Added support for VS 2013 and TDM compilers in build files.
Removed the hack that copied external libs into SFML static libs, users now have to link them explicitly
Added support  for chunked http transfers
sf::Http now understands transfers that are sent using Chunked Transfer
Encoding (RFC 2616; section 3.6.1).
Merge pull request #337 from MarioLiebisch/chunked-http

Added support for chunked HTTP transfers
Fixed bug with sf::Texture (and especially with sf::RenderTexture) on old graphics cards (#418)
Whitespace fix