Commit Graph

  • 1b1d92d6bb Fix function name in short example snippet in RenderStates.hpp Juhani Numminen 2015-05-16 08:52:10 +03:00
  • 717bd85537 Android: 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
  • 11e2901403 Whitelisted 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
  • 45577de60a Added 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
  • e38a26ec25 Corrected typo. binary1248 2015-05-11 00:38:14 +02:00
  • d2adccfe2e Check Android API level Tiaan Louw 2015-03-31 23:27:59 +02:00
  • 46a625dde5 Make sure the window still exists before we access the dimensions on it Tiaan Louw 2015-03-31 21:42:04 +02:00
  • 608b4fb28d Only spawn Resized event when window size changes. Stefan Schindler 2015-05-08 11:27:44 +02:00
  • 80214d1cb9 Increased 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
  • 947427cb8d Clarified semantics of Shape::getGlobalBounds(), improved related documentation Jan Haller 2015-05-03 14:51:44 +02:00
  • 93f389e92e Added missing GLEXT defines to the OpenGL ES block in GLExtensions.hpp. binary1248 2015-04-27 01:39:11 +02:00
  • 653c0fdb30 Fixed inconsistency between sf::Touch::getPosition and touch events. Chase W 2015-04-29 11:54:30 -04:00
  • e0174545e6 Fixed Color::toInteger() not being const-qualified Jan Haller 2015-04-28 21:44:31 +02:00
  • e0d27358fb Added 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
  • db8c237f6a Fixed Unix key repeat not being disabled even after setKeyRepeatEnabled(false) is called. (#871) binary1248 2015-04-20 01:36:45 +02:00
  • 17570c324e Bumped 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
  • e80bf0ba92 Fix whitespace: Convert tabs to spaces and remove trailing whitespace. binary1248 2015-04-01 04:08:23 +02:00
  • 075d7b3b50 Made FileInputStream non copyable Marco Antognini 2015-04-13 10:15:20 +02:00
  • 4992243857 Fixed warning about switches Marco Antognini 2015-04-12 17:07:02 +02:00
  • 53f61e9596 Removed 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
  • ac3a5394ca Made 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
  • bbe2c656e6 Fixed getting relative mouse position on Unix returning screen coordinates instead. binary1248 2015-04-07 11:01:41 +02:00
  • 01f46ce231 Fixed 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
  • 22c9674389 Combined separate horizontal/vertical mouse wheel event types Jan Haller 2015-03-31 22:19:43 +02:00
  • 534a23e074 Fixed 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
  • 3ec672afe9 Removed 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
  • 3d0ab05e7b Added missing includes in the general headers. Lukas Dürrenberger 2015-03-30 11:13:28 +02:00
  • 0b221921ed Switched 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
  • 0076ea50db Replaced 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
  • bbfef72fc6 Replaced 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
  • 5ce73e9274 FindSFML.cmake: Added missing VorbisEnc dependency Jan Haller 2015-03-23 15:31:50 +01:00
  • c0bee34d42 FindSFML.cmake: Ignored environment variables to find library paths Jan Haller 2015-03-23 15:09:04 +01:00
  • e78f1bd4ea Fix 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
  • 4add6faf06 Added back accidentally removed headers. binary1248 2015-03-30 01:26:20 +02:00
  • b9cc6f5c0d Merge branch 'bugfix/altf4_new' Lukas Dürrenberger 2015-03-29 22:35:26 +02:00
  • 7287b77c5d Replaced 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
  • 5aaf9a6115 Fixed RandR not resetting the original screen configuration in some situations. binary1248 2015-03-27 18:31:41 +01:00
  • 39cdebfe71 Add 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
  • bd34935f2a Fixed XCB events being handled by the wrong windows in multi-window applications (#843). binary1248 2015-03-25 22:08:50 +01:00
  • c229877313 Fixed 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
  • 623f63a48a Fixed 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
  • 3faf2a93d6 Reverted 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
  • c08a56bf9f Adjusted WindowImplX11. Stefan Schindler 2015-01-09 12:52:59 +01:00
  • 20f213bfac Added a FLAC file to the Sound example to cover all three supported formats. Lukas Dürrenberger 2015-03-10 00:44:06 +01:00
  • 23cc8cfe3f Only link sfml-main for the GUI examples in release mode. Lukas Dürrenberger 2015-01-07 13:02:53 +01:00
  • 7b4610b55b Merge branch 'feature/gl_dev_new' Lukas Dürrenberger 2015-03-26 10:04:12 +01:00
  • 3ca6e0f346 Added support for 32-bits samples in WAV files Laurent Gomila 2015-03-21 13:45:54 +01:00
  • ce16554763 SFML#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
  • ae53cfd0d9 Added X11 back to the linker list for FreeBSD Zachariah Brown 2015-03-19 19:49:39 -04:00
  • cee6263a01 Removed 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
  • 3996faa54c Fixed 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
  • c17486857f Implemented methods to retrieve the OpenGL handles from sf::Texture and sf::Shader. binary1248 2014-08-15 07:13:32 +02:00
  • 650e792350 Improved OpenGL and X11 rotating cube examples. binary1248 2015-01-12 18:15:46 +01:00
  • e2420dfe76 Removed support for GLU. binary1248 2015-01-12 18:15:11 +01:00
  • 97bdf72ce1 Adjusted 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
  • 1d16748ed7 Added 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
  • 6b3c7f0cd6 Added copyright notices. binary1248 2015-01-12 18:39:46 +01:00
  • c30a3da8d5 Moved platform OpenGL loading code into their respective context implementations. binary1248 2015-01-12 18:32:28 +01:00
  • 38f0464ab0 Added 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
  • 3e397bff4b Replaced 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
  • ea2bf65186 Fixed GLX context creation and reorganized code to be more understandable. binary1248 2015-01-08 19:11:57 +01:00
  • d53338298a Added 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
  • 426b137516 Fixed freetype.framework install name id Marco Antognini 2015-03-19 15:55:20 +01:00
  • e17cc520d6 Implemented 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
  • 81a8e4e4ca Fixed potential buffer overflow in SoundFileReaderWav Laurent Gomila 2015-03-15 14:44:16 +01:00
  • 9d3024e13e Fixed the issue where trying to open a stream didin't reset the stream first. Lukas Dürrenberger 2015-03-12 11:29:43 +01:00
  • bbfa3d5a76 Changed the SOVERSION to major.minor. Lukas Dürrenberger 2015-02-28 11:55:39 +01:00
  • 95ec9180ad Wrapped XCB replies in scoped pointers. binary1248 2015-03-06 18:20:31 +01:00
  • b2b35d0a43 Refactored Unix Window implementation. binary1248 2015-03-06 16:11:56 +01:00
  • b758f9a1dd Fixed broken symlinks in frameworks Marco Antognini 2015-03-11 09:00:40 +01:00
  • cd9b8b9a15 Fixed FLAC SoundStreams not checking for the EOF decoder state and looping forever. binary1248 2015-03-11 02:05:52 +01:00
  • cc05fc785a Removed old unused source file Laurent Gomila 2015-03-12 08:14:20 +01:00
  • f39e7a9869 Updated FreeType to version 2.5.5. Lukas Dürrenberger 2015-02-23 23:35:13 +01:00
  • 01d5d1b463 Replaced non-ASCII symbols with equivalents Oleh Prypin 2015-03-10 01:56:04 +02:00
  • 20af2a4dfa Merge branch 'feature/no_libsndfile_all_os' Lukas Dürrenberger 2015-03-10 00:05:00 +01:00
  • aa9a6dec89 Fixed a few typos/style issues Marco Antognini 2015-03-09 10:47:20 +01:00
  • 0c2f306c17 Updated copyright year and Laurent's email address Marco Antognini 2015-03-03 22:30:49 +01:00
  • 42a6967128 Fixed incorrect sample count reported by the WAV sound file reader Laurent Gomila 2015-03-01 22:40:26 +01:00
  • 6ab8d43b04 Enabled sfml-audio on iOS Laurent 2015-02-28 23:38:22 +01:00
  • f17ea5872b Removed last references to libsndfile Mario Liebisch 2015-02-25 10:56:46 +01:00
  • af4dac6fed Marked the FLAC/Vorbis/Ogg variables as advanced Mario Liebisch 2015-02-25 10:46:37 +01:00
  • 66eab23b10 Updated Flac, ogg, vorbis, vorbisenc and vorbisfile for MinGW and MSVC Marco Antognini 2015-02-24 21:12:13 +01:00
  • 3424467896 Android: Restored old file reading behavior for audio stuff Mario Liebisch 2015-01-30 10:26:12 +01:00
  • 62933114ec Android: Moved ogg's os specific header to build properly Mario Liebisch 2015-01-29 22:15:03 +01:00
  • 0d29d38d20 Android: Added precompiled libraries Mario Liebisch 2014-12-23 13:24:40 +01:00
  • 26f8c74c43 Android: Fixed building and linking Mario Liebisch 2014-12-26 18:29:13 +01:00
  • 592a25b768 Added MinGW binaries for FLAC Marco Antognini 2014-12-26 15:18:35 +01:00
  • 5cdb432d60 Fixed seeking after reaching EOF Marco Antognini 2014-12-21 19:44:04 +01:00
  • 1d24b52220 Silenced some warnings Marco Antognini 2014-10-28 18:48:10 +01:00
  • e22bb627c7 Updated Xcode templates Marco Antognini 2014-10-08 11:08:04 +02:00
  • 599a16b1f2 Added OS X frameworks: ogg, vorbis, vorbisfile, vorbisenc and flac Marco Antognini 2014-10-28 18:00:51 +01:00
  • d45364b753 Updated external audio libs for iOS Laurent 2014-11-07 22:21:44 +01:00
  • 3fbfde39a5 Adjusted the new audio backends to compile on Linux Jonathan De Wachter 2014-10-07 09:35:46 +02:00
  • 5e0e645f46 Added support for FLAC audio files Laurent Gomila 2014-10-02 20:24:00 +02:00
  • 6096d22091 Fixed ogg/vorbis MSVC libraries Laurent Gomila 2014-07-23 23:19:03 +02:00
  • f0608eaed8 Redesigned the audio encoding/decoding classes to get rid of libsndfile Laurent Gomila 2014-07-20 17:48:40 +02:00
  • 34692d5a39 Android: Updated the toolchain file and CMake scripts Mario Liebisch 2015-01-30 15:37:06 +01:00
  • 1de7644277 Updated copyright year and Laurent's email address Zachariah Brown 2015-02-26 06:57:16 -05:00
  • d790114df8 Added a way for partial sends over non-blocking TcpSockets to be handled properly. binary1248 2015-02-06 19:37:53 +01:00
  • 67c7663c80 Added export to Joystick::Identification Marco Antognini 2015-02-28 08:28:53 +01:00