summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2017-11-19Use new XDG folders to dehardcode pathsRémi Verschelde
2017-11-19Add initial support for the XDG Base Directory specRémi Verschelde
Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html (latest as of this commit). Three virtual methods are added to OS for the various XDG paths we will use: - OS::get_data_path gives XDG_DATA_HOME, or if missing: ~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_config_path gives XDG_CONFIG_HOME, or if missing: ~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_cache_path gives XDG_CACHE_HOME, or if missing: ~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows So for Windows there are no changes, for Linux we follow the full split spec and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot. Support for system-wide installation of templates on Unix was removed for now, as it's a bit hackish and I don't think anyone uses it. user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by default, but when using the application/config/use_shared_user_dir option it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame. For now everything still goes in EditorSettings::get_settings_dir(), but this will be changed in a later commit to make use of the new splitting where relevant. Part of #3513.
2017-11-17EditorSettings: Rename settings_path to settings_dirRémi Verschelde
Also to prepare for upcoming refactoring for XDG support.
2017-11-17Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde
Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
2017-11-17Merge pull request #12606 from rraallvv/window_positionRémi Verschelde
Fix window position on macOS (master)
2017-11-15Fix HTML5 HTTPClient includesLeon Krause
2017-11-14Merge pull request #12922 from eska014/engine-singletonsRémi Verschelde
Singleton management changes
2017-11-14Move singleton management from ProjectSettings to EngineLeon Krause
2017-11-14fix window position computation on macOSRhody Lugo
2017-11-13Merge pull request #12885 from rraallvv/osx_android_travisRémi Verschelde
travis: caching Android, iOS, macOS (cross-compile) (master)
2017-11-13change matrix and enable caching for Android, iOS and macOS (cross-compile)Rhody Lugo
2017-11-13Disable OpenGL warnings unless running with -v, closes #7171Juan Linietsky
2017-11-13Fix HTML5 mouse button release eventsLeon Krause
2017-11-13Merge pull request #12867 from eska014/html5-httpRémi Verschelde
Implement HTTPClient in HTML5 platform
2017-11-13Implement HTTPClient in HTML5 platformLeon Krause
Limitations: - Subject to same-origin policy - No persistent connection (but simulated for compatibility) - No blocking mode - No StreamPeer access - No chunked responses - Cannot disable host verification
2017-11-11Align sensors and implement gravity sensor for AndroidBastiaan Olij
2017-11-09Remove get_default_video_mode definition on OSX/iOSRémi Verschelde
It had been missed in d09160a8b67fdc60e8108962c4e9bd4c0bc7f13e and broke compilation for those platforms. Took the opportunity to run clang-format on the code base to fix some corner cases that went through our static tests/were overlooked recently.
2017-11-09UWP: Update to build with Windows SDK 10.16229.0George Marques
- Update the OpenSSL shim to work with the new SDK - Change the ARM platform detection to work with VS2017
2017-11-09Merge pull request #12782 from rraallvv/unified_headers_fixRémi Verschelde
add missing distutils.version.LooseVersion import
2017-11-09Make video mode initialization more intuitive, fixes #12022Juan Linietsky
2017-11-09add missing distutils.version.LooseVersion importRhody Lugo
2017-11-09unified headers fixRhody Lugo
2017-11-08Compile Android with STL enabled by defaultAndreaCatania
2017-11-06Merge pull request #12604 from rraallvv/unified_headersRémi Verschelde
add support for Android NDK unified headers (master)
2017-11-06add support for Android NDK unified headersRhody Lugo
2017-11-06Prevent to stop music in another background app on iOSvolzhs
2017-11-06Merge pull request #12691 from eska014/webaudioRémi Verschelde
Fix WebAudio and HTML5 build
2017-11-06Fix WebAudio and HTML5 buildLeon Krause
2017-11-05Convert DOS line endings to Unix line endingsRémi Verschelde
Should fix issues some of us have with `misc/dist/uwp_template/AppxManifest.xml` always showing up as modified. Might cause issues on Windows due to the removal of BOMs or change of line endings in some of the Mono, UWP or gradlew.bat files, we will test and adapt if need be.
2017-11-03Merge pull request #12262 from AndreaCatania/pplugJuan Linietsky
Physics server plug
2017-11-04Implemented physics plugAndreaCatania
Moved init_physics Implemented physics 2D plug Fix clang Fix clang Fix static check Fix clang Fix static check Moved physics server initialization Moved physics server settings initialization
2017-11-02SCons: make use_lto a global option and opt-in for iphoneRémi Verschelde
Supersedes #12553, see discussion in #12552.
2017-10-30Add Colemak keybindings to editor for osxN0hbdy
2017-10-30Implemented OS get_latin_keyboard_variant on x11Marcelo Fernandez
2017-10-30Merge pull request #12467 from marcelofg55/emscripten_detectRémi Verschelde
Detect javascript platform using EMSCRIPTEN env as well [ci skip]
2017-10-29Disable logging until the logs location is sorted outRémi Verschelde
Temporary workaround for #12277.
2017-10-28Detect javascript platform using EMSCRIPTEN env as wellMarcelo Fernandez
2017-10-27Merge pull request #12442 from mhilbrunner/patch-1Rémi Verschelde
detect.py: Fix KeyError if using MinGW and LTO
2017-10-27detect.py: Fix KeyError if using MinGW and LTOmhilbrunner
2017-10-27Travis: Simplify matrix, disable iphone and add X11 tools=no/clangRémi Verschelde
Travis always has massive backlog of macOS builds, so we can't rely on them too much. The iphone build was mostly useful to spot tools=no or target=release_debug issues, so replacing it by an appropriate X11 build.
2017-10-26Sound support for Javascript (untested).Juan Linietsky
2017-10-23Implemented vsync OS functions for OS XMarcelo Fernandez
2017-10-22Add WindowsTerminalLogger to UWP buildGeorge Marques
2017-10-21Cleanup unnecessary debug printsRémi Verschelde
2017-10-20Merge pull request #12252 from MednauN/masterRémi Verschelde
iOS GameCenter fixes
2017-10-20update GKScore init functionsersoong
(cherry picked from commit 5ed8826dd07eab83b6f6b6b7d3af602926a54ae6)
2017-10-20Fix iOS GameCenter connection flowEvgeny Zuev
Add method for secure authentication to GameCenter
2017-10-17Fix BSD compile issuesMarcelo Fernandez
2017-10-17SCons: Disable server platform as it does not buildRémi Verschelde
See #8361. [ci skip]
2017-10-16Sign iOS dylibs before packagingRuslan Mustakov
These changes allow to open the exported project in XCode and Run it immediately to begin debugging. Before these changes you'd have to sign GDNative libs and change Build Configuration manually.