Chris Thrasher
55a1a2a4c4
Format .m files
2022-07-14 21:47:49 +02:00
Chris Thrasher
4f52793f7d
Run clang-format
2022-07-11 20:04:56 +02:00
metaquarx
88e9f82bee
Add '.clang-format' file, CI integration, and formatting exceptions
...
Co-authored-by: Vittorio Romeo <vittorio.romeo@outlook.com>
Co-authored-by: Chris Thrasher <chrisjthrasher@gmail.com>
Co-authored-by: kimci86 <kimci86@hotmail.fr>
2022-07-11 20:04:56 +02:00
Chris Thrasher
65fef85b30
Simplify how examples are built
...
CMake doesn't require absolute paths so we can safely remove
SRCROOT and let implicit relative pathing achieve the same result
with less work on our part.
2022-06-16 23:56:39 +02:00
Jan Haller
eb321b3040
Update year to 2022 (master branch)
2022-02-16 13:52:31 +00:00
Chris Thrasher
4586db91a9
Add SFML:: namespace to targets
...
This removes the sfml- prefixed targets from the export set. The sfml-
prefixed targets are still available within the build tree but not to
downstream users thus making this an API breaking change when compared
to the 2.x releases. To keep things consistent, usage of the sfml-
targets were replaced with their namespaced counterparts.
This has a number of benefits:
1. It's more idiomatic. Modern CMake libraries are expected to
have namespaced targets.
2. Namespaced targets are less likely to collide with user-defined
targets. No one will accidentally define a SFML:: target.
3. If a namespaced target is not found by CMake, configuration
will immediately stop.
2022-01-11 22:27:39 +01:00
Lukas Dürrenberger
3cd45a283b
Merge branch '2.6.x' into feature/backmerge
2021-12-20 13:44:56 +01:00
Pawel Paruzel
c824d3d57a
Fix all macOS clang warnings
...
Co-authored-by: binary1248 <binary1248@hotmail.com>
2021-12-20 00:10:55 +01:00
Vittorio Romeo
e9e353a7b2
Remove redundant APIs taking '(x, y)' in favour of ones taking 'sf::Vector'
2021-12-15 11:22:46 +01:00
Vittorio Romeo
c9f7cb3d52
Use 'nullptr' instead of 'NULL'
2021-12-03 15:48:32 +00:00
jqdg
f4ac9cfb06
Copy logo.png to Resources in Cocoa example
2021-08-16 09:37:58 +02:00
MrZeusTheCoder
20238e758e
Switch example resources to public domain ones.
2021-04-02 22:16:22 +02:00
swordfatih
498d7ee79c
Update the copyright year to 2021
...
Just updating all the 2020 references to 2021. 😄
2021-01-06 20:21:36 +01:00
Lukas Dürrenberger
9b596cc8d9
Update the copyright year to 2020
2020-09-12 19:34:34 +02:00
EpicCoder
489482a630
Updated the copyright year to 2019
2019-01-08 08:53:33 +01:00
Jonny Paton
1cd7ad6a24
Remove reference to unused CMAKE_OSX_DEPLOYMENT_TARGET in cocoa example
2018-08-27 13:36:57 +01:00
Ceylo
ee08e18726
Modernize CMake files
2018-03-27 00:03:34 +02:00
Maximilian Wagenbach
989367e345
Turned the header image in readme.md into a link.
...
Updated all links to use https (tested).
2018-02-10 17:12:54 +01:00
Maximilian Wagenbach
5d7843c58a
Updated the copyright year to 2018.
2018-02-10 14:51:46 +01:00
Ceylo
777ec2c04d
Fix launch of Cocoa example due to missing MainMenu.nib in bundle app
2018-01-25 00:23:33 +01:00
Lukas Dürrenberger
113152673a
Updated year in copyright notices to 2017.
2017-02-10 15:18:03 +01:00
Marco Antognini
ac50bf8648
Update copyright dates
...
For futur references:
List and inspect © to be updated
$ egrep '2007-[0-9]{4}' -r examples/ tools/ src/ include/ license.txt
Update all ©
$ egrep --null -l '2007-[0-9]{4}' -r examples/ tools/ src/ include/ license.txt | xargs -0 -P4 sed -i '' -E 's/^(.*)2007-[0-9]{4}(.*)$/\12007-2016\2/'
2016-08-05 16:20:39 +02:00
Marco Antognini
9d70da3aaa
Fixed and silenced a few warnings
2016-04-14 12:26:40 +02:00
binary1248
e80bf0ba92
Fix whitespace: Convert tabs to spaces and remove trailing whitespace.
2015-04-15 01:53:43 +02:00
Zachariah Brown
1de7644277
Updated copyright year and Laurent's email address
2015-03-02 13:41:54 -05:00
Lukas Dürrenberger
45810a1345
Fixed additional comments and documention spelling mistakes.
2014-11-18 01:02:07 +01:00
Stefan Schindler
f24ca9a840
Source code changes.
...
* Changed newlines to \n.
* Removed whitespace before colons.
* Fixed several alignments.
2014-10-06 01:18:47 +02:00
Marco Antognini
6e01d1fde7
Improved style of Cocoa example
2014-05-23 09:52:18 +02:00
Marco Antognini
6a5391c0b6
Fixed warnings in Cocoa example
2014-05-23 09:52:18 +02:00
Marco Antognini
d8812f0f5c
Add support for retina displays ( close #353 )
...
Based on PR #388 by Michael Bradshaw
Convert size to match the size requested by the user.
2014-04-21 18:06:44 +02:00
Marco Antognini
ac28902b57
Removed support for OS X 10.6 and below
2014-04-15 20:18:20 +02:00
Jan Haller
12d81304e6
Updated copyright year to 2014
2014-02-06 20:08:26 +01:00
Marco Antognini
6f68192272
Update © dates
2013-09-20 18:52:57 +02:00
Marco Antognini
2b8f20c89f
Remove trailing spaces
2013-09-20 18:52:57 +02:00
Marco Antognini
95678e851a
Update logos for Cocoa example
2013-06-27 23:29:27 +02:00
Laurent Gomila
7051d43c72
Fixed IDE folder of example "Cococa"
2013-06-14 15:01:29 +02:00
Marco Antognini
e11ed81f72
Fix compilation issue on 10.5
2013-01-19 10:55:52 +01:00
Marco Antognini
757a785ed7
Updated Cocoa example
...
Now load correctly a font instead of displaying nothing at all.
2012-08-20 19:26:30 +02:00
Marco Antognini
c741b6459f
Updated the copyright text
2012-03-14 14:37:17 +01:00
Marco Antognini
2ef92a2af2
Updated Mac OS X code according to commits ff5b69d312
and 14ac411542
2012-03-12 23:04:06 +01:00
Marco Antognini
2680d3df65
Updated Mac OS X code according to 15e9d999b3
commit
2012-03-09 11:45:37 +01:00
Marco Antognini
7417870042
Updates readme.txt of cocoa example
2012-01-30 14:50:11 +01:00
Marco Antognini
2a083ea202
SFML-Cocoa is now part of the cmake-based examples
...
Removes Xcode project
Fixes a crash and
Silences system alerts in this example
2012-01-30 12:23:18 +01:00