1b1d92d6bbFix function name in short example snippet in RenderStates.hpp
Juhani Numminen
2015-05-16 08:52:10 +03:00
717bd85537Android: Fixed audio files not loading (and possibly crashing) * Added a missing return value for Android's sf::FileInputStream::open(). * Added a missing return value for Android's sf::priv::ResourceStream::seek(). * Moved error logging for sf::InputSoundFile and sf::OutputSoundFile to sf::SoundFileFactory, since this allows more details on *why* reading/writing failed. Before missing files would return "format not supported".
Mario Liebisch
2015-05-12 10:40:29 +02:00
11e2901403Whitelisted SHAPE events that might be sent by some compositing window managers even if we didn't select them. Fixes#879
binary1248
2015-05-10 03:46:17 +02:00
45577de60aAdded support for GL_EXT_texture_edge_clamp as well since some GL implementations don't expose GL_SGIS_texture_edge_clamp even when clamp-to-edge functionality is supported. Fixes#880
binary1248
2015-05-10 17:04:01 +02:00
d2adccfe2eCheck Android API level
Tiaan Louw
2015-03-31 23:27:59 +02:00
46a625dde5Make sure the window still exists before we access the dimensions on it
Tiaan Louw
2015-03-31 21:42:04 +02:00
608b4fb28dOnly spawn Resized event when window size changes.
Stefan Schindler
2015-05-08 11:27:44 +02:00
80214d1cb9Increased version to 2.3, updated the changelog and license and added Mario to the readme.txt.
Lukas Dürrenberger
2015-03-30 10:16:36 +02:00
947427cb8dClarified semantics of Shape::getGlobalBounds(), improved related documentation
Jan Haller
2015-05-03 14:51:44 +02:00
93f389e92eAdded missing GLEXT defines to the OpenGL ES block in GLExtensions.hpp.
binary1248
2015-04-27 01:39:11 +02:00
653c0fdb30Fixed inconsistency between sf::Touch::getPosition and touch events.
Chase W
2015-04-29 11:54:30 -04:00
e0174545e6Fixed Color::toInteger() not being const-qualified
Jan Haller
2015-04-28 21:44:31 +02:00
e0d27358fbAdded OpenGL vendor and renderer string checks to warn if the application is being run using a non-accelerated OpenGL context.
binary1248
2015-04-18 21:27:53 +02:00
db8c237f6aFixed Unix key repeat not being disabled even after setKeyRepeatEnabled(false) is called. (#871)
binary1248
2015-04-20 01:36:45 +02:00
17570c324eBumped back the sfml-graphics OpenGL version requirement to 1.1. Everything beyond 1.1 functionality is optional, with warnings emitted when necessary.
binary1248
2015-04-03 01:59:17 +02:00
e80bf0ba92Fix whitespace: Convert tabs to spaces and remove trailing whitespace.
binary1248
2015-04-01 04:08:23 +02:00
075d7b3b50Made FileInputStream non copyable
Marco Antognini
2015-04-13 10:15:20 +02:00
4992243857Fixed warning about switches
Marco Antognini
2015-04-12 17:07:02 +02:00
53f61e9596Removed stricter Unix visual requirements for now and increased Windows pixel format array size from 256 to 512 to make sure all pixel formats are taken into consideration on systems that support that many.
binary1248
2015-04-15 00:46:21 +02:00
ac3a5394caMade Windows and Unix pixel format selection more consistent with each other, fixed pixel format evaluation scoring formats with better settings equal to formats with worse settings.
binary1248
2015-04-08 09:04:46 +02:00
bbe2c656e6Fixed getting relative mouse position on Unix returning screen coordinates instead.
binary1248
2015-04-07 11:01:41 +02:00
01f46ce231Fixed GL_ARB_compatibility not being detected causing false compatibility warnings to be emitted when a 3.1 context is created.
binary1248
2015-04-04 17:06:31 +02:00
22c9674389Combined separate horizontal/vertical mouse wheel event types
Jan Haller
2015-03-31 22:19:43 +02:00
534a23e074Fixed not being able to transition into fullscreen state on window managers that disallow it when Motif or size hints are set, added workaround for fullscreen bug on Openbox.
binary1248
2015-04-03 18:48:03 +02:00
3ec672afe9Removed XCB dependencies (EWMH, ICCCM, Keysyms, Util), added XCB libraries to FindSFML.cmake, fixed checking for X11 library checking for XRandR instead.
binary1248
2015-03-31 05:41:23 +02:00
3d0ab05e7bAdded missing includes in the general headers.
Lukas Dürrenberger
2015-03-30 11:13:28 +02:00
0b221921edSwitched to the stdio FILE* API for handling streams to provide the expected behavior to Vorbis.
Lukas Dürrenberger
2015-03-28 23:56:20 +01:00
0076ea50dbReplaced Unix joystick enumeration with a fully native udev implementation which supports an unlimited number of devices (still limited higher up by sf::Joystick::Count though).
binary1248
2015-03-25 18:52:48 +01:00
bbfef72fc6Replaced inotify joystick polling with udev monitoring, added more precise checking whenever connection/disconnection occurs so full scans are no longer needed, fixed up USB attribute querying and added udev property querying as the primary method of getting joystick property data, added a fallback method of getting the joystick name if JSIOCGNAME fails.
binary1248
2015-03-23 14:12:23 +01:00
5ce73e9274FindSFML.cmake: Added missing VorbisEnc dependency
Jan Haller
2015-03-23 15:31:50 +01:00
c0bee34d42FindSFML.cmake: Ignored environment variables to find library paths
Jan Haller
2015-03-23 15:09:04 +01:00
e78f1bd4eaFix for the destructor of SoundBuffer. A crash appeared when a sound still had been attached at the time of destruction.
BlueCobold
2015-03-22 07:14:08 +01:00
4add6faf06Added back accidentally removed headers.
binary1248
2015-03-30 01:26:20 +02:00
7287b77c5dReplaced a few Xlib keyboard handling functions with XCB keyboard handling functions, fixed modified key events returning sf::Keyboard::Unknown on Unix (#847), fixed sf::Keyboard::Quote and sf::Keyboard::Tilde events not functioning properly on Unix, optimized keycode lookup when using sf::Keyboard::isKeyPressed() on Unix.
binary1248
2015-03-28 13:51:42 +01:00
5aaf9a6115Fixed RandR not resetting the original screen configuration in some situations.
binary1248
2015-03-27 18:31:41 +01:00
39cdebfe71Add ScopedXcbPtr to CMakeLists.txt, replaced xcb_query_extension with xcb_get_extension_data where possible, removed decorations from fullscreen windows, fixed DRI2 events not being forwarded as Xlib events leading to Mesa not functioning correctly in certain situations.
binary1248
2015-03-27 16:53:24 +01:00
bd34935f2aFixed XCB events being handled by the wrong windows in multi-window applications (#843).
binary1248
2015-03-25 22:08:50 +01:00
c229877313Fixed numerous bugs/undefined behavior in the XCB implementation, added a lot more XCB error handling and reporting, make use of xcb-ewmh to handle EWMH for us, refactored some code out of the Window constructor into their own methods, fixed fullscreen state transition not working on window managers that create temporary parent windows when the window is being mapped, removed automatic fullscreen pointer grabbing since that is the subject of #614 and might not be desired in some situations.
binary1248
2015-03-25 11:29:51 +01:00
623f63a48aFixed RandR extension not being loaded causing Unix screen mode switching to fail, added several more error checks to RandR operations, added support for rotated resolutions on Unix (#771).
binary1248
2015-03-14 06:17:41 +01:00
3faf2a93d6Reverted back to hard switching the fullscreen video mode when necessary on Unix systems, added support for automatically choosing between EWMH fullscreen setting when supported and manual fullscreen setting as the fallback, added support for window responsiveness checks.
binary1248
2015-03-12 20:27:01 +01:00
c08a56bf9fAdjusted WindowImplX11.
Stefan Schindler
2015-01-09 12:52:59 +01:00
20f213bfacAdded a FLAC file to the Sound example to cover all three supported formats.
Lukas Dürrenberger
2015-03-10 00:44:06 +01:00
23cc8cfe3fOnly link sfml-main for the GUI examples in release mode.
Lukas Dürrenberger
2015-01-07 13:02:53 +01:00
3ca6e0f346Added support for 32-bits samples in WAV files
Laurent Gomila
2015-03-21 13:45:54 +01:00
ce16554763SFML#541 Use openal-soft 1.16 as default OpenAL framework on OS X instead of the system's one
Ceylo
2015-03-14 12:15:41 +01:00
ae53cfd0d9Added X11 back to the linker list for FreeBSD
Zachariah Brown
2015-03-19 19:49:39 -04:00
cee6263a01Removed separate GLXFBConfig selection during context creation (it is chosen to match the window's already selected visual), reverted to conservative context creation only using glXCreateContextAttribsARB when absolutely necessary.
binary1248
2015-03-23 16:03:47 +01:00
3996faa54cFixed requesting an unsupported OpenGL context version causing X to close the application, fixed GlContext initialization not updating settings properly, added error checks to GLLoader.cpp and fixed GL errors occurring when using a >= 3.0 OpenGL context.
binary1248
2015-03-05 04:39:34 +01:00
c17486857fImplemented methods to retrieve the OpenGL handles from sf::Texture and sf::Shader.
binary1248
2014-08-15 07:13:32 +02:00
e2420dfe76Removed support for GLU.
binary1248
2015-01-12 18:15:11 +01:00
97bdf72ce1Adjusted OpenGL and Window example to request a 24-bit instead of a 32-bit depth buffer since it might not be supported on all systems.
binary1248
2015-01-12 18:00:44 +01:00
1d16748ed7Added check to context creation to warn the user of an incompatible mismatch between the context they requested and the context that was created.
binary1248
2015-01-12 18:59:24 +01:00
c30a3da8d5Moved platform OpenGL loading code into their respective context implementations.
binary1248
2015-01-12 18:32:28 +01:00
38f0464ab0Added MESA and SGI swap interval implementations in order to fix v-sync not being set properly on some Unix systems (#727), added error message when setting v-sync fails on Windows systems.
binary1248
2015-01-13 05:31:53 +01:00
3e397bff4bReplaced GLEW with (a highly customized) loader generated by glLoadGen, restructured GLExtensions.hpp for easier extension bookkeeping, make use of GLEXT definitions in Shader.cpp and Texture.cpp as well, replaced GL_MAX_TEXTURE_COORDS with GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, implemented flags for requesting a debug or core/compatibility profile context, changed the default context version from 2.0 to 2.1.
binary1248
2015-01-12 18:58:22 +01:00
ea2bf65186Fixed GLX context creation and reorganized code to be more understandable.
binary1248
2015-01-08 19:11:57 +01:00
d53338298aAdded the FindFreetype.cmake CMake module, set the minimum require CMake version to 2.8.3 and fixed the paths to the FreeType headers.
Lukas Dürrenberger
2015-03-11 08:46:40 +01:00
426b137516Fixed freetype.framework install name id
Marco Antognini
2015-03-19 15:55:20 +01:00
e17cc520d6Implemented support for horizontal mouse wheel scrolling as well as high-precision scrolling on Windows and OS X.
binary1248
2015-02-27 21:27:55 +01:00