Commit Graph

65 Commits

Author SHA1 Message Date
Chris Thrasher
3a0d074b2f Remove trailing whitespace
Some of these files either aren't processed by clang-format or the
trailing whitespace existed within blocks of code where we disabled
clang-format.
2023-09-19 13:30:27 -06:00
Chris Thrasher
ddfb7f6cb0 Use modern name for macOS
In a few places I left references to the old name where appropriate.
There are also many CMake references to "OSX" that we have to keep
using since CMake does not offer alternative names for those variables
and target properties.
2023-07-24 21:25:26 -06:00
Lukas Dürrenberger
48fde44047 Merge branch '2.6.x' into master 2023-06-21 13:31:16 +02:00
Chris Thrasher
d131beb0fd Fix misspellings
I used the Python tool codespell to find these
2023-05-21 14:37:46 -06:00
kimci86
a21c3c101c Configure doxygen STRIP_FROM_INC_PATH option
so that include directives are correct in the generated documentation.
2023-04-11 22:33:57 +02:00
Chris Thrasher
2c99b3343a Remove default sf::Text constructor 2023-04-05 09:54:56 -06:00
Chris Thrasher
5ebba36d16
Merge branch '2.6.x' into feature/backmerge 2023-04-01 15:23:48 -06:00
Lukas Dürrenberger
2151ea5c1d Align search box styling with the doc style
- Update doxyfile.in file to v1.9.6
- Add additional search box CSS overrides
2023-03-28 22:46:04 +02:00
Chris Thrasher
bc5ddb3495 Don't automatically build docs
This means you can leave the docs enabled in the build without being
constantly spammed by all the console output that entails.

https://salsa.debian.org/games-team/libsfml/-/blob/master/debian/patches/02_build-doc-once.patch
2023-03-23 09:57:16 -06:00
Chris Thrasher
2df79840c4 Remove commented out CSS tag
https://salsa.debian.org/games-team/libsfml/-/blob/master/debian/patches/01_remove-googleapi-css.patch
2023-03-23 09:57:16 -06:00
Shiv
ca5ca65004
Removed return EXIT_SUCCESS and cstdlib 2023-01-23 10:00:48 +01:00
Christian Ivicevic
a9f33999dc
Fix outdated use of the sf::VideoMode constructor 2022-11-22 14:55:52 +01:00
Chris Thrasher
a5dbe59f07
Merge branch '2.6.x' 2022-10-13 14:33:11 -06:00
kimci86
863fef0246 Fix broken image URLs in doxygen.css 2022-08-03 23:55:43 +02:00
kimci86
6972463848 Enable doxygen search engine 2022-08-03 23:55:43 +02:00
kimci86
2b11d3ee0f Set mainpage title
The default title with doxygen 1.9.4 is "SFML" instead of "SFML
Documentation" as it was before, so we set the title manually.
2022-08-03 23:55:43 +02:00
kimci86
1b71e3d389 Update doxyfile.in for doxygen 1.9.4
Steps to update doxyfile.in:
- Run `doxygen -u doxyfile.in`
- Put back comments about SFML specific aliases.
- Add quotes around CMake variables for paths as they may be substituted
  with values containing space characters.
2022-08-03 23:55:43 +02:00
Chris Thrasher
dbac180db5 Limit the scope of event object 2022-06-08 13:16:40 +02:00
Chris Thrasher
2f2284955e Use list(APPEND to simplify modifying variables 2022-02-17 14:39:07 +01:00
Chris Thrasher
a322d18e63 Use built-in CMake project version functionality 2022-01-21 21:09:20 +01:00
Vittorio Romeo
4e1fcb3775 Remove 'SFML_DEPRECATED' and replace internal usages with '[[deprecated]]' 2021-12-03 19:36:47 +01:00
Lukas Dürrenberger
0337568846 Remove link in documentation main page
For locally generated documentation the link should not point to a PHP page. 
The easiest solution is to remove it, given that the same link is available in the navigation.
2020-05-27 01:12:50 +02:00
kimci86
80c3bdc23c Fix CMake scripts to install and find doxygen's generated SFML.tag file 2019-11-19 09:26:49 +01:00
Jonny
27a4c83ebc Use GnuInstallDirs module for cmake install paths 2019-09-01 21:48:10 +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
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
papychacal
341bc2a130 Added Tagfile generation and finding 2018-01-25 22:00:38 +01:00
Mario Liebisch
9f6f02f988 Android: Added sf::getNativeActivity() to retrieve a handle to the current activity
This is only implemented for Android builds and requires the user to include the sub-header specifically. Other platforms will trigger a compiler error, if they try to include this header file.
2016-04-22 15:53:14 +02:00
Marco Antognini
0df97b4813 Updated platform-specific handle documentation 2015-11-06 18:24:42 +01:00
Jan Haller
9c5c750e60 Added new methods to set uniforms in sf::Shader
Implements a new design for the shader uniform API.
* Added Shader::setUniform() and Shader::setUniformArray() overloads for the following types:
  -> scalars: float, int, bool
  -> vectors: 2D, 3D, 4D
  -> matrices: 3x3, 4x4
  -> arrays of basic types
  -> samplers (sf::Texture)
  -> conversions for SFML types (sf::Transform, sf::Color)
* Added sf::Glsl namespace with GLSL-equivalent types
* Deprecated Shader::setParameter() overloads

Other related changes:
* Refactored sf::Shader internals to avoid code duplication
* Improved documentation
* Added SFML_DEPRECATED macro to Doxyfile
* Defined _SCL_SECURE_NO_WARNINGS to disable std::copy() warnings on MSVC
2015-10-21 10:29:07 +02:00
binary1248
e80bf0ba92 Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
Oleh Prypin
01d5d1b463 Replaced non-ASCII symbols with equivalents 2015-03-10 02:04:02 +02:00
Mario Liebisch
6ca9f66a06 Fixed HTML Help Workshop not being found on 64-bit Windows 2015-02-24 13:59:06 +01:00
Marco Antognini
b0d6c2bea9 Added version in doc header 2014-12-27 20:57:57 +01:00
Lukas Dürrenberger
8b7ac65aa3 Fixed the namespace and class icon issue and updated the Doxygen file. 2014-12-27 20:57:55 +01:00
Marco Antognini
fc850ed99f Updated doc version and removed trailing spaces 2014-12-07 10:35:42 +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
Jan Haller
59e920cf10 Fixed several Doxygen warnings, limited input to *.hpp files 2014-03-29 12:42:13 +01:00
Laurent Gomila
9b0ed300b5 Made compiler and OS variable names much clearer in CMake files 2013-10-09 08:01:10 +02:00
Laurent Gomila
f3d2129f9f Improved the API documentation stylesheet 2013-01-30 21:35:34 +01:00
Laurent Gomila
288bc87d3a Updated the main page of the API documentation 2012-12-02 23:13:31 +01:00
Laurent Gomila
d7b4e26dc6 Removed the MSCGEN detection -- in fact it was not used 2012-06-17 13:09:25 +02:00
Mario Liebisch
777d4d30f8 Fixed alternative name lookup for mscgen in CMake. 2012-06-17 11:18:38 +02:00
Mario Liebisch
617c3b7759 Made CMake look for mscgen
Before the path in doxyfile was static and set to
"D:/Programmes/mscgen", which obviously won't work on most systems. Now
CMake tries to find the tool. If this fails, the path is set empty to
let Doxygen look for it inside PATH.
2012-06-16 20:00:18 +02:00
Laurent Gomila
6ea8ccd133 The API documentation is now built by default with all other targets 2012-04-06 22:49:11 +02:00
Laurent Gomila
14ac411542 Changed the naming convention for public member variables/functions and free functions (using lowerCase instead of UpperCase) 2012-03-11 19:10:37 +01:00
Laurent Gomila
bb7cf47d69 Updated the code of the documentation's main page 2012-01-20 07:53:33 +01:00