Commit Graph

  • a23076d7bb Replace 'BoolType' with 'explicit operator bool' Vittorio Romeo 2021-12-09 01:55:49 +00:00
  • 87e84bc9e5 Minor modernization changes: 'nullptr', range-based 'for' loops, ... Vittorio Romeo 2021-12-08 19:24:23 +00:00
  • 2839f6b4d2 Use 'auto' where no information is lost Vittorio Romeo 2021-12-08 18:34:35 +00:00
  • 9a0cc4b7dc Use alias declarations instead of 'typedef' Vittorio Romeo 2021-12-08 17:00:44 +00:00
  • f03a415121 Use std::vector.data() where appropriate Anton Vasiliev 2021-12-07 22:57:26 +03:00
  • f87f5a3f72 Use 'shrink_to_fit' instead of 'swap' Vittorio Romeo 2021-12-08 14:55:31 +00:00
  • 3914bd0062 Remove redundant synchronization for 'static' variable initialization Vittorio Romeo 2021-12-08 14:55:18 +00:00
  • 8be8a76cba Use 'auto', range-'for', and structured bindings to improve some loops Vittorio Romeo 2021-12-08 01:08:11 +00:00
  • e458f4651e Add MP3 decoding support using 'minimp3' lieff 2021-12-06 11:32:36 +00:00
  • ce5d410c74 Fix exception on Vulkan example shutdown Anton Vasiliev 2021-12-07 05:50:23 +03:00
  • b9da3b879c Fix possible exception on Vulkan example startup Anton Vasiliev 2021-12-07 05:48:09 +03:00
  • d0ebdc8607 Let CMake autodetect Apple arch on M1 processor Pawel Paruzel 2021-12-05 13:21:17 +01:00
  • 51ebeaf383 Change most associative containers to their respective 'unordered' version Vittorio Romeo 2021-12-06 11:36:16 +00:00
  • e53d9e88a9 Fix regression in copyToImage Lukas Dürrenberger 2021-12-05 21:52:38 +01:00
  • 11020363b1 Fix wrong cast in sf::Packet Pawel Paruzel 2021-12-05 23:27:48 +01:00
  • 93410afdc7 Delegate 'WglContext(WglContext*)' constructor to more general one Vittorio Romeo 2021-12-05 17:19:19 +00:00
  • eef309e870 Add '.gitignore' file Vittorio Romeo 2021-12-04 23:11:25 +00:00
  • 0f9e13a2bb Use list-initialization to zero-initialize 'JoystickImpl.hpp' structures Vittorio Romeo 2021-12-04 22:23:29 +00:00
  • dd14d7c57f Use '[[fallthrough]]' attribute and enable relevant warning Vittorio Romeo 2021-12-03 15:53:01 +00:00
  • 4e1fcb3775 Remove 'SFML_DEPRECATED' and replace internal usages with '[[deprecated]]' Vittorio Romeo 2021-12-03 14:51:17 +00:00
  • 4358a303a7 Use emplacement operations to avoid unnecessary copies/moves Vittorio Romeo 2021-12-03 15:59:30 +00:00
  • c9f7cb3d52 Use 'nullptr' instead of 'NULL' Vittorio Romeo 2021-12-03 14:45:32 +00:00
  • bd12438916 Enable and require C++17 support for all targets Vittorio Romeo 2021-12-01 19:14:15 +00:00
  • 1aa2b7cd0d Update SFML version to 3.0.0 Lukas Dürrenberger 2021-11-30 13:39:40 +01:00
  • 6cf124db66 Fix remaining warnings Vittorio Romeo 2021-11-19 01:15:57 +00:00
  • c74694c3b2 Fix conversion warnings for the Audio module Lukas Dürrenberger 2021-04-25 15:43:00 +02:00
  • 01836ccea4 Fix conversion warnings for the Graphics module Lukas Dürrenberger 2021-04-22 00:48:56 +02:00
  • 0468612ac0 Fix conversion warnings for the Network module Lukas Dürrenberger 2021-04-22 00:48:35 +02:00
  • e0f2356102 Fix conversion warnings for Unix Lukas Dürrenberger 2021-04-21 01:02:18 +02:00
  • bc628c6b28 Fix warnings in examples Lukas Dürrenberger 2021-04-20 15:59:24 +02:00
  • 92bc513d9f Fix variable name shadowing warning Lukas Dürrenberger 2021-04-20 10:33:33 +02:00
  • e01aa152c1 Fix type conversion warnings Lukas Dürrenberger 2021-04-20 10:31:24 +02:00
  • 9052ccf218 Fix integer conversion warnings Lukas Dürrenberger 2021-04-19 16:36:10 +02:00
  • 5bed29dd19 Fix conversion and other warnings, mainly on Windows Jan Haller 2021-04-19 17:12:58 +02:00
  • 761d9d81d0 Fix several unused warnings Jan Haller 2021-04-19 16:46:11 +02:00
  • a759ccd5db Enable compiler warnings. binary1248 2021-04-19 04:20:43 +02:00
  • 7fc026e3ec Add missing comment Anton Vasiliev 2021-11-30 00:36:42 +03:00
  • ef8fee5356 Simplify management of ActivityStates Vittorio Romeo 2021-11-19 00:21:04 +00:00
  • dc88cbd81e Remove include directives for unused headers Vittorio Romeo 2021-11-21 00:29:09 +00:00
  • c21e842007 Fix useless temporary sf::Lock Vittorio Romeo 2021-11-19 20:38:07 +00:00
  • 2888d9c56e Improve high DPI handling on macOS jqdg 2021-08-15 09:27:32 -07:00
  • 600d0f3baf Use correct rpath value for dependencies Lukas Dürrenberger 2021-11-13 16:49:23 +01:00
  • 912422f486 Partial revert from 40a0584636dab89f3fa1747e63f26fa895036ce1 This reverts the change to addLine(), which no longer had its outline drawn after the offending commit. Corentin Schreiber 2021-10-20 08:22:05 +01:00
  • d950c9387a Simplify glyph advance calculation Since auto-hinting is enabled, the advance will always be an integer number of pixels. The actual fractional advance is handled by bearings. https://github.com/SFML/SFML/pull/1827#issuecomment-939531582 Corentin Schreiber 2021-10-11 08:11:27 +01:00
  • 4d2e5b18e2 Fix incorrect glyph rect for text outline Corentin Schreiber 2021-10-07 07:52:42 +01:00
  • 3b1ff125b0 Code style and comments jqdg 2021-09-12 11:50:53 -07:00
  • 85e72faf5e Delete unnecessary message when closing window integrated in an NSView jqdg 2021-08-24 13:53:05 -07:00
  • c80cbb9c97 Change handling of NSAutoreleasePool jqdg 2021-08-24 13:52:15 -07:00
  • eeeda74ec1 Add support for Visual Studio 2022 Chris Ohk 2021-08-22 14:50:46 +09:00
  • c90d308b45 Fixed funcs for safe use in Win32/Win64 Herman Semenov 2021-08-15 08:04:53 +03:00
  • f4ac9cfb06 Copy logo.png to Resources in Cocoa example jqdg 2021-08-15 13:54:03 -07:00
  • ee8c4fdcda Use native Windows cursors to preserve the drop shadow StrikerX3 2020-12-18 22:51:15 -03:00
  • 4135855ad4 Fixed unable to build SFML with latest NDK Bendegúz Ács 2019-04-08 19:17:26 +02:00
  • 86617c0550 Fix zombie windows in Mac OS when switching to/from fullscreen jqdg 2021-08-08 23:00:51 -07:00
  • 7ff34cdc86 Process Cocoa events after window close jqdg 2021-08-07 23:49:26 -07:00
  • f162b3a037 Enable support for unity builds Vittorio Romeo 2021-04-14 02:59:13 +01:00
  • 47a4e88704 Try more possible names for OpenGLES library. Fixes SFML/SFML#1687 Chase Warrington 2021-06-28 21:27:10 -04:00
  • 089f0fd8b4 Fixed typo in TcpSocket header comment. Ant 2021-07-13 22:07:36 -04:00
  • 9e79d61d22 Added CPack definitions and an NSIS template for easy packaging Mario Liebisch 2016-07-21 15:35:48 +02:00
  • 1f21e5497b Control GL_FRAMEBUFFER_SRGB flag in RenderTarget Guillaume Bertholon 2021-04-21 14:52:18 +02:00
  • ade4a3912a Support sRGB color space in RenderTexture Guillaume Bertholon 2021-03-10 14:44:31 +01:00
  • 9e27096c37 Fix configuration conflicts with Clang Lukas Dürrenberger 2021-05-03 20:09:34 +02:00
  • 2b79ae96d9 Fix OpenGL context on Android Lukas Dürrenberger 2021-04-14 10:58:57 +02:00
  • 20c23f0007 Fixed WindowImplAndroid used after deleted. acsbendi 2019-04-25 14:16:04 +02:00
  • f3a180bc09 Fix sf::Context::getActiveContext to stop returning inactive contexts Guillaume Bertholon 2021-04-14 12:34:34 +02:00
  • ce992ee01f Fix overflow when calculating time value for Clock Mozzg 2021-03-29 19:24:55 +03:00
  • 43b2e9dc12 Fixed regression introduced in 4fcef89 causing EXT_texture_edge_clamp support to not be considered, added explicit initialization of nbFormats to 0 in WglContext.cpp in order to prevent broken graphics drivers from filling nbFormats with a garbage value. binary1248 2021-04-14 04:15:33 +02:00
  • c0b19109a9 Fix incorrect standard includes in 'InputSoundFile' and 'Music' Vittorio Romeo 2021-04-12 01:35:08 +01:00
  • b29cb44fad Keep existing cursor type if requested type fails Jonny Paton 2021-01-21 17:09:06 +00:00
  • f4844c11f8 Fix potential crash when changing cursor - don't release the NSCursor object if it's already been released Jonny Paton 2021-01-06 23:25:57 +00:00
  • 9541719893 Fix ordering of 'sf::Font' members in 'Font.cpp' Vittorio Romeo 2021-04-12 01:37:53 +01:00
  • 6ad96cf9b7 windows: add resource.rc files to dll builds Marty E. Plummer 2018-03-15 19:38:34 -05:00
  • a7e5d3c386 Add missing semicolon in doc example Lukas Dürrenberger 2021-04-08 14:16:06 +02:00
  • 20238e758e Switch example resources to public domain ones. MrZeusTheCoder 2020-12-12 15:40:52 -05:00
  • eaeb977700 Relax the requirement to provide geometry shader support to accept a 3.2+ compatibility context as well. While the compatibility profile functionality is not 100% identical to the EXT/ARB functionality, the extent to which SFML makes use of geometry shaders should not pose any serious problems to a developer who is aware of the subtle differences. The current geometry shader example already requires GLSL 1.50 which was only available in OpenGL 3.2+. (Closes #1768) binary1248 2021-03-27 14:06:03 +01:00
  • 4fcef893c9 Updated glad loader to OpenGL 4.6 Compatibility Profile as base and added version support defines to GLExtensions.hpp. binary1248 2021-03-27 14:00:44 +01:00
  • 748ba1bc82 Fix '-Wimplicit-fallthrough' warnings by adding a fallthrough comment Vittorio Romeo 2021-03-25 03:49:32 +00:00
  • 05c83617de Add Min and Max blend modes Guillaume Bertholon 2021-03-09 00:21:56 +01:00
  • 0fe1626a1f Add support for arm64 on macOS Lukas Dürrenberger 2021-03-20 14:13:36 +01:00
  • 788ac2ecf5 MacOS: When initializing an openGL view with a parent window, call finishInit Jon Keller 2021-03-18 16:46:44 -05:00
  • 252d26afb0 macOS: allow CMAKE_OSX_ARCHITECTURES to be arm64 Jon Keller 2021-02-08 09:51:30 -06:00
  • b762276a27 Change GitHub Actions failure mode Lukas Dürrenberger 2021-02-19 11:04:28 +01:00
  • 88451a0740 Fixed naming convention mistakes Radek Dutkiewicz 2021-01-21 13:31:18 +00:00
  • e7ae462c82 Fixed formating mistake Radek Dutkiewicz 2021-01-21 11:39:30 +00:00
  • 84e0a25e04 Fixed unnecessary loadGlyph() calls Radek Dutkiewicz 2021-01-20 19:36:24 +00:00
  • 165b715d02 Fixed unintialized variable Radek Dutkiewicz 2021-01-20 19:25:57 +00:00
  • f76f0607c7 Fix for fonts with no kerning tables Radek Dutkiewicz 2020-03-08 16:21:42 +00:00
  • 7a0c35c334 Added glyph position compensation after autohinting Radek Dutkiewicz 2020-03-08 13:14:16 +00:00
  • 54204058a4 Fixed copy assign operator in sf::Sound so it checks for self-assignment fgallegosalido 2021-01-16 18:39:09 +01:00
  • 5e5ac64c76 Update CMake minimum version to 3.7.2 Lukas Dürrenberger 2021-01-14 11:48:25 +01:00
  • 0ef9647589 Fix NULL in Android EGL_DEFAULT_DISPLAY Sevag Hanssian 2021-01-14 09:08:17 -05:00
  • e85ed33fb2 Fixed Win32 requestFocus in multithreaded environment hobby8 2019-07-12 10:20:07 +03:00
  • d29c51d82b Fix warning: control may reach end of non-void function [-Wreturn-type] Eren121 2020-10-23 23:13:50 +02:00
  • b939c794fb Don't needlesly call getSize() twice while setting texture vfjpl 2020-12-09 14:41:54 +01:00
  • aa81cae6cf [sprite] don't set default rect before the user provided one vfjpl 2020-12-08 16:34:51 +01:00
  • 808adedf13 Replaced all reinterpret_casts with memcpys when reading from Packet. acsbendi 2019-04-17 01:42:50 +02:00
  • 1d1415c982 Avoid unaligned memory access when reading floats and doubles from Packet. acsbendi 2019-04-16 20:36:18 +02:00
  • 5381308268 Remove Travis CI. MrZeusTheCoder 2021-01-06 18:03:09 -05:00
  • 498d7ee79c Update the copyright year to 2021 swordfatih 2021-01-06 18:00:58 +01:00
  • 0535e322d4 Fixed setMouseCursorGrabbed Franckltung 2020-12-01 15:44:05 -05:00