Commit Graph

2157 Commits

Author SHA1 Message Date
Lukas Dürrenberger
2f11710abc Updated the changelog and version number for 2.5.1 2018-10-15 21:41:39 +02:00
Jonny Paton
9fba1dff27 Add -ObjC flag to fix static linking on macOS 2018-10-15 21:07:19 +02:00
Lukas Dürrenberger
43f57b2f25 Disabled the JNI part due to compatibility issues 2018-10-11 22:27:11 +02:00
Ceylo
5189589ce2 Modernize iOS toolchain: remove BUILD_ARM64, drop support for Xcode <4.3 and don't pretend defining official CMake variables 2018-10-11 21:22:15 +02:00
Maxime Alvarez
b47f738635 Fixed the error message when the wrong bitmap font size is selected 2018-10-04 22:25:54 +02:00
Lukas Dürrenberger
cc3c748ab2 Due to binary compatibility in a patch release the iOS fix needs to be reverted
This reverts commit 08eb31e327.
2018-10-03 22:02:16 +02:00
Lukas Dürrenberger
95c9670d4c Fixed Windows cursor color conversion to be endian safe 2018-10-01 22:46:45 +02:00
binary1248
08eb31e327 Ensure the proper default framebuffer is bound when activating a RenderWindow. Fixes #1471. 2018-10-01 20:33:12 +02:00
Mario Liebisch
410c8aa5f5 Windows: Fixed swapped colors for custom cursors
Previously the red and blue color channels were swapped,
since Windows expects a different channel order for DIBs.

This fixes issue #1464.
2018-09-08 19:09:41 +02:00
Bloodsword
c2008b2fb4 Use XRRSetCrtcConfig instead of XRRSetScreenConfig, in order to fix issue #1226. It should also fix issue #1224. 2018-09-08 18:58:07 +02:00
Christian Widmer
53e1bae7ce Window/Unix: Fix compilation with glxext header versions >=20180525
When mesa updated their headers, they changed the include guard
from __glxext_h_ to __glx_glxext_h_, which breaks compilation
due to conflicting declarations. This commit modifies the preprocessor
directives to allow for compilation with older and newer mesa header
versions.
Fixes: #1472
2018-08-28 20:37:27 +02:00
Jeff
e4d3a536a2 Fix Deadlock in Android Main Cleanup 2018-08-28 20:25:47 +02:00
Jonny Paton
d8952f28eb Disable autocorrect on iOS for issue #1473 2018-08-28 10:22:03 +02:00
Marco Antognini
9f7d8101a9 Improved macOS implementation for Cursor
- remove Wait and SizeAll cursors as they don't look nice
   (Wait is not spining and produces a broken rendering,
    SizeAll is a simple white cursor.)
 - fix memory management for NSCursor.
 - ignore selector warnings.
2018-08-28 10:21:48 +02:00
Jonny Paton
9c2e7cbb51 Implemented extra cursors on macOS 2018-08-28 10:21:36 +02:00
Jonny Paton
7823588b1b Remove reference to unused CMAKE_OSX_DEPLOYMENT_TARGET in cocoa example 2018-08-28 10:21:03 +02:00
Elias Daler
254a470346 Fix CMP0072 CMake warning - also allow user to set OpenGL_GL_PREFERENCE 2018-08-14 21:22:08 +02:00
Kwasior
21c6c64ecd Fix audio components linking order 2018-08-14 20:59:05 +02:00
Jonny Paton
40ddcac203 Removed unnecessary cmake osx deployment target value 2018-08-13 23:05:47 +02:00
Lukas Dürrenberger
37aee610c8 Fixed the installation of pkg-config files
* Removed duplicated CMake code
* Made it possible to manually specify the pkg-config path
* Install pkg-config files by default on Linux and BSD systems
2018-08-13 22:47:10 +02:00
PKEuS
0423bc4013 Reduced context locking&unlocking while creating textures 2018-08-13 22:31:18 +02:00
Radek Dutkiewicz
cf34f4ae10 Fixed glyph cropping on sub-pixel positioning of text
Added 1 pixel padding for glyph uv's  and increased glyph quads boundaries by 1 pixel so the glyphs aren't cropped when text is being scrolled with sub-pixel increments
2018-08-09 23:28:38 +02:00
Mario Liebisch
0c4443a2c1 Squash duplicated sf::Font glyphs to single chars
Before this change, `sf::Font` always rendered/provided one character
per Unicode codepoint, even if that character wasn't represented by the
current font file or duplicated. This caused more texture space to be
used than necessary, which is especially apparent, when trying to render
a large amount of unhandled glyphs (the texture would literally fill up
with empty squares representing missing characters).
2018-08-09 23:18:21 +02:00
assematt
a2002339a6 Fixed bug in sf::Text when applying an outline color/thickness
When applying an outline thickness to sf::Text in combination with a
strikethrough and/or an underlined style, the ensureGeometryUpdate
function adds unwanted vertices if the string contains two consecutive
'\n' charecter.
To fix this we need to add an additional check in the if statements to
check if both the current and previous character it's a new line
character.
2018-07-29 00:49:57 +02:00
Ironbell
d97bbc38f2 Fixed two conversion warnings (C4267) 2018-07-28 20:01:18 +02:00
Jonny Paton
61078aa90b Fix config for finding dependencies on iOS 2018-07-28 18:30:56 +02:00
Ceylo
8aae69055a On iOS, make sure to be notified if you forgot to include <SFML/Main.hpp> 2018-07-28 18:28:11 +02:00
Jonny Paton
1b1ae8e48e Use default supported rotations when none are specified 2018-07-28 18:25:45 +02:00
Lionel Aimerie (Pixium Digital)
fd071fb4ab ANDROID flag fix to SFML_SYSTEM_ANDROID 2018-07-28 18:10:52 +02:00
Bruno Van de Velde
e26fc1bfd2 ANativeActivity_onCreate is not exported in sfml-main (fixes #1457) 2018-07-28 18:07:54 +02:00
binary1248
f843097fbe Fixed the Unix clipboard implementation causing an abort due to internal data races in Xlib. 2018-07-24 22:52:48 +02:00
Lukas Dürrenberger
33c26dd6e6 Fixed performance issue with reading WAV files
Calling tell() and thus std::ftell() for every reading iteration ate up
80-90% of the whole read call. By manually tracking the current position
the calls to tell() can be safely removed.
2018-07-02 22:32:17 +02:00
binary1248
4a41f37d5d Fixed stale FBOs not being erased from the staleFramebuffers set after they have been deleted. 2018-06-04 23:19:34 +02:00
binary1248
b9303866a6 Fixed RenderTexture::display() dereferencing a NULL pointer when being called before RenderTexture::create(). 2018-06-04 23:16:15 +02:00
binary1248
6e84b2d97d Fixed RenderWindow::setActive incorrectly trying to unbind an FBO during deactivation. 2018-06-02 21:09:34 +02:00
binary1248
f3d7468372 Fixed RenderTextureImplFBO's destructor incorrectly triggering deletion of other RenderTextureImplFBOs' active FBOs even when the context they reside in isn't being destroyed. 2018-06-02 21:09:27 +02:00
binary1248
8fea4fbfb4 Postpone generation of the RenderTarget ID to RenderTarget::initialize() so that a new ID is generated whenever the RenderTarget is re-create()ed. 2018-05-18 22:08:58 +02:00
James Cowgill
bd7f30d0ba Install CMake config files into lib${LIB_SIFFIX} 2018-05-18 22:06:44 +02:00
Marty E. Plummer
89cf033a92 cmake/Macros.cmake: ex:->examples:
vim interprets the # ex: comments as a modeline, which causes editing
this file with vim to throw an error.

Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
2018-05-18 22:02:31 +02:00
Lukas Dürrenberger
192eb968a4 Updated version number to SFML 2.5.0 2018-05-06 08:53:30 +02:00
Lukas Dürrenberger
859db83af7 Adjusted the changelog for SFML 2.5 2018-05-06 08:48:53 +02:00
Maximilian Wagenbach
8a0d9b414f Updated the changelog for 2.5 2018-05-06 08:48:53 +02:00
Marco Antognini
de2d49e3af Added doxygen documentation for Packet >> & << operators 2018-05-06 08:42:42 +02:00
Marco Antognini
b21039452e Fixed a reference in the documentation of Shader 2018-05-06 08:42:42 +02:00
Marco Antognini
f2ccc64536 Fixed doxygen rendering of markdown table 2018-05-06 08:42:42 +02:00
Lukas Dürrenberger
35725cd2df Only use 3 columns in the index 2018-05-06 08:42:42 +02:00
Leonid Olevskiy
ceee41eaf4 Update doxygen.css
Set pointer cursor on arrows
2018-05-06 08:42:41 +02:00
Gravechapa
d7fffae727 Updated doxygen file 2018-05-06 08:42:41 +02:00
Alexander Weinrauch
3da81aeecb Added missing import for memcpy and switched to std::memcpy 2018-05-03 22:04:11 +02:00
Lukas Dürrenberger
4c4e961f39 Added GitHub issue and PR templates
GitHub will use these templates to pre-fill created issues and
pull requests. This should help to get people to provide better
information on issues or direct them to the forum when needed and
hint people to provide example/test code for pull requests.
2018-04-28 15:38:22 +02:00