Jonathan De Wachter
4180e6b31f
[Android] Added tools (unix bash scripts) to recompile Android extlibs
...
For some reason, one might want to recompile the extlibs but this is a tedious task. That's why these scripts are provided.
Please read readme.txt before using them!
2014-04-20 12:56:49 +02:00
Jonathan De Wachter
90d8b37442
[Android] Removed ogg, FLAC, vorbis and vorbisenc dependencies
2014-04-20 12:56:46 +02:00
Jonathan De Wachter
cc0d982f72
[Android] Wrote a native activity acting as a bootstrap
...
A current limitation prevents one library from depending on shared libraries.
As we have legal issues here (LGPL wants us to use shared libs of OpenAL-Soft and libsndfile), we're forced to use this homemade native activity which will manually load our shared libraries.
2014-04-20 12:56:42 +02:00
Jonathan De Wachter
60894d1c1a
[Android] Rewrote CMake scripts to compile SFML with our new toolchain
2014-04-20 12:56:40 +02:00
Jonathan De Wachter
f9e80e1a3b
[Android] Updated the Android CMake toolchain to support NDK r9
...
It brings support for 64-bits toolchains.
2014-04-20 12:53:40 +02:00
Jonathan De Wachter
b167c7a8d5
[Android] Replaced our homemade Android CMake toolchain with the one used for the OpenCV project
...
http://code.google.com/p/android-cmake/
2014-04-20 12:53:38 +02:00
Jonathan De Wachter
293b85af53
[Android] Recompiled extlibs/ properly
...
External libraries are compiled with the latest NDK version (r9) with android-9 as API level using the recommended flags (see docs/).
External libraries are now compiled without the so version suffix because the NDK strips it at install time.
Static libraries of libsndfile and OpenAL-Soft have been removed because of their non-permissive license. It now uses their shared libraries.
NOTE: The audio module is disabled on MIPS arches because I was unable to compile OpenAL-Soft. Once the compilation issue fixed, I'll re-enable it.
2014-04-20 12:53:36 +02:00
Laurent Gomila
ea3a29f150
[iOS] Added install rules to work around a CMake bug that prevented SFML libraries to be installed
2014-04-20 12:53:25 +02:00
Laurent Gomila
c35b48bcea
[iOS] Removed support for examples, it was too much trouble and not as robust as true iOS App Xcode projects
2014-04-20 12:53:22 +02:00
Laurent Gomila
8f459cd1af
[iOS] Made the resources path the default working directory
2014-04-20 12:53:20 +02:00
Laurent Gomila
3872b27569
Reworked the sfml-main module, added Main.hpp, moved the main() internal entry point for iOS from sfml-window to sfml-main
2014-04-20 12:53:17 +02:00
Laurent Gomila
b9fd685a60
[iOS] Made the build independent of the iOS framework version
2014-04-20 12:53:15 +02:00
Laurent Gomila
4bd1a66915
Removed a copy of the sfml_add_example CMake macro, which was duplicated by accident in the big Android commit
2014-04-20 12:53:12 +02:00
Laurent Gomila
cac645076f
[iOS] Fixed linker command line in Graphics/CMakeLists.txt
2014-04-20 12:53:09 +02:00
Laurent Gomila
ca29498653
[iOS] Removed the install rule of the deleted ios.cmake toolchain file
2014-04-20 12:53:07 +02:00
Laurent Gomila
239921b456
[iOS] Improved support for examples, removed the need for a toolchain file
2014-04-20 12:53:04 +02:00
Laurent Gomila
4e8e1629d1
Adapted the examples for iOS (WIP)
2014-04-20 12:52:10 +02:00
Jonathan De Wachter
cefb4fcee0
Improved OpenAL error macro
...
It now supports functions that return values.
2014-04-20 12:52:08 +02:00
Jonathan De Wachter
8c906a7a3d
Improved OpenGL error macro
...
It now supports functions that return values.
2014-04-20 12:52:06 +02:00
Jonathan De Wachter
63bbe2c91e
Added the Android port
2014-04-20 12:52:04 +02:00
Laurent Gomila
01b745185e
[iOS] Various adjustements to implementation
2014-04-20 12:48:07 +02:00
Laurent Gomila
e20ff86330
[iOS] Adjusted the code and build files to use Automatic Reference Counting
2014-04-20 12:48:04 +02:00
Laurent Gomila
d50f94ca97
Fixed render buffers not correctly resized on orientation changes
2014-04-20 12:48:02 +02:00
Laurent
e5ee38fc26
Added the iOS port
2014-04-20 12:48:00 +02:00
Jan Haller
f2ef524b57
Fixed compile warnings
2014-04-19 11:50:31 +02:00
Jan Haller
e9243b7ef6
Improved documentation for sf::Shape and derived classes
2014-04-19 11:21:35 +02:00
Marco Antognini
19012c66ea
Updated Xcode templates and cmake script
...
What's new in the templates:
- Removed support for 32 bits and gcc
- Removed useless code
- Removed custom warnings settings – let Xcode decide with its default values
- Set default target version to CMAKE_OSX_DEPLOYMENT_TARGET
What's new in cmake script:
- Added cmake options for archs and deployment target
- Added minimum requirements checking
2014-04-15 20:19:12 +02:00
Marco Antognini
0a5f38157f
Added support for OpenGL 3.2 context on OS X ( close #84 )
...
The Graphics module is not compatible with a core profile on Mac. If
you plan to use it, use OpenGL 2.1 (default).
2014-04-15 20:19:12 +02:00
Marco Antognini
b1c062d84f
Fixed incorrect symlink in freetype.framework ( close #519 )
2014-04-15 20:19:12 +02:00
Marco Antognini
f6c94451fb
Added some memory autorelease pools and nil'ify attribute
2014-04-15 20:19:12 +02:00
Marco Antognini
324d4a18e7
Fixed NSApplication not retaining its delegate
2014-04-15 20:19:12 +02:00
Marco Antognini
0d47056132
Updated Objective-C implementation to use ARC; removed i386 support
2014-04-15 20:19:09 +02:00
Marco Antognini
ac28902b57
Removed support for OS X 10.6 and below
2014-04-15 20:18:20 +02:00
Marco Antognini
0d6ddde07f
Fixed unused parameter warnings
2014-04-15 20:18:20 +02:00
Marco Antognini
49f2a76d93
Fixed a few glitches in the documentation
2014-04-15 20:18:19 +02:00
Marco Antognini
b868833191
Improved coding style of OS X implementation
...
And fixed some typos.
2014-04-15 20:18:19 +02:00
Laurent Gomila
2204838384
Merge pull request #567 from abodelot/x11keyrepeat
...
Fixed disabling key repeat on Linux (#564 )
2014-04-07 20:17:40 +02:00
Alexandre Bodelot
816bc93b04
Fixed disabling key repeat on Linux
2014-04-07 19:15:14 +02:00
Jan Haller
83fd76c40b
Merge pull request #562 from CheezeCake/master
...
Fixed compile errors on FreeBSD
2014-04-06 19:26:41 +02:00
Jan Haller
18bbd23886
Window::create() now also resets framerate limit
...
Fixes #371
2014-04-06 17:14:24 +02:00
Jan Haller
e9334db424
Merge pull request #555 from varnie/master
...
Image::flipVertically(), Image::flipHorizontally() optimizations
2014-03-30 12:15:11 +02:00
CheezeCake
c584ddeea6
Fix typos and missing Joystick::
2014-03-29 21:21:31 +01:00
Jan Haller
666da801a1
Cached sf::Text attributes
...
Two optimizations:
- If a value remains the same, nothing happens
- Recompute geometry only before drawing and bound access, not after each set
Closes #413
2014-03-29 18:34:49 +01:00
Jan Haller
59e920cf10
Fixed several Doxygen warnings, limited input to *.hpp files
2014-03-29 12:42:13 +01:00
Jan Haller
1319a0a096
Improved Ftp::sendCommand() documentation
2014-03-29 11:54:20 +01:00
Jan Haller
0227e5c51e
Minor formatting
2014-03-28 19:55:18 +01:00
Jan Haller
2c5cab5454
Made Ftp::sendCommand() public
2014-03-28 13:38:19 +01:00
Jan Haller
f9233e792b
Output error message in SoundStream when bits are zero
...
Fixes #529
2014-03-25 23:11:06 +01:00
Jan Haller
50e3052773
Exposed up vector in sf::Listener API
...
Closes #545
2014-03-23 20:16:42 +01:00
Jan Haller
d97e5244af
Optimized sf::Listener with a cache
...
Two optimizations:
- Get functions return locally stored value
- Set functions call OpenAL only if value has changed
2014-03-23 18:03:13 +01:00