aboutsummaryrefslogtreecommitdiff
path: root/platform (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Add initial support for the XDG Base Directory specRémi Verschelde2017-11-198-10/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | EditorSettings: Rename settings_path to settings_dirRémi Verschelde2017-11-174-9/+9
| | | | | | | | | | | | | | | | Also to prepare for upcoming refactoring for XDG support.
| * | | Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde2017-11-1714-34/+34
| | | | | | | | | | | | | | | | | | | | Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
* | | | Merge pull request #13045 from akien-mga/gles2-cleanupRémi Verschelde2017-11-1919-69/+29
|\ \ \ \ | |_|/ / |/| | | Cleanup old references to GLES2 renderer
| * | | Cleanup old references to GLES2 rendererRémi Verschelde2017-11-1919-69/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are still some left in the Android Java code, even stuff to swap between GLES1 and GLES2 support from early Godot days... would be good to see some cleanup there too one day. The "graphics/api" option for Android exports is removed, as only GLES 3.0 is supported. It can be readded when GLES 2.0 support comes back. Fixes #13004.
* | | | Merge pull request #13044 from eska014/enginejsRémi Verschelde2017-11-194-82/+124
|\ \ \ \ | | | | | | | | | | Change HTML5 start-up API
| * | | | Change HTML5 start-up APILeon Krause2017-11-194-82/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename engine.start() to startGame(), new start() takes string arguments handed directly to main(). Rename Engine.loadEngine() to load(). Add setLocale(), setResizeCanvasOnStart(), setExecutableName() and preloadFile().
* | | | | Merge pull request #13033 from MednauN/masterRémi Verschelde2017-11-191-0/+3
|\ \ \ \ \ | |_|/ / / |/| | | | Add currency code to iOS product details response
| * | | | Add currency code to iOS product details responseEvgeny Zuev2017-11-191-0/+3
| | |/ / | |/| |
* | | | Merge pull request #12961 from eska014/platform-docRémi Verschelde2017-11-198-35/+171
|\ \ \ \ | |_|/ / |/| | | Facilitate documenting platform-exclusive classes
| * | | Facilitate exposing platform-exclusive interfaces to all platformsLeon Krause2017-11-188-35/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the interfaces available, without implementation, in other platforms and the editor, which facilitates documenting platform-exclusive classes. Platform-exclusive APIs must be set up in platform/<platform>/api/api.cpp. Provide noop method-implementations where necessary. Also setup and document the HTML5 platform's JavaScript singleton.
* | | | Remove asm.js support from HTML5 platformLeon Krause2017-11-186-146/+25
| |/ / |/| | | | | | | | | | | Since WebGL 2.0 is required, requiring WebAssembly support as well has little impact on compatibility.
* | | Merge pull request #12606 from rraallvv/window_positionRémi Verschelde2017-11-172-13/+85
|\ \ \ | |/ / |/| | Fix window position on macOS (master)
| * | fix window position computation on macOSRhody Lugo2017-11-142-13/+85
| | |
* | | Fix HTML5 HTTPClient includesLeon Krause2017-11-151-0/+2
| | |
* | | Merge pull request #12922 from eska014/engine-singletonsRémi Verschelde2017-11-145-12/+13
|\ \ \ | |/ / |/| | Singleton management changes
| * | Move singleton management from ProjectSettings to EngineLeon Krause2017-11-145-12/+13
| | |
* | | Merge pull request #12885 from rraallvv/osx_android_travisRémi Verschelde2017-11-133-9/+34
|\ \ \ | | | | | | | | travis: caching Android, iOS, macOS (cross-compile) (master)
| * | | change matrix and enable caching for Android, iOS and macOS (cross-compile)Rhody Lugo2017-11-133-9/+34
| | | |
* | | | Disable OpenGL warnings unless running with -v, closes #7171Juan Linietsky2017-11-131-1/+1
| |/ / |/| |
* | | Fix HTML5 mouse button release eventsLeon Krause2017-11-131-3/+4
| | |
* | | Merge pull request #12867 from eska014/html5-httpRémi Verschelde2017-11-135-0/+554
|\ \ \ | | | | | | | | Implement HTTPClient in HTML5 platform
| * | | Implement HTTPClient in HTML5 platformLeon Krause2017-11-135-0/+554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Align sensors and implement gravity sensor for AndroidBastiaan Olij2017-11-117-3/+39
| |/ / |/| |
* | | Remove get_default_video_mode definition on OSX/iOSRémi Verschelde2017-11-094-35/+17
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | UWP: Update to build with Windows SDK 10.16229.0George Marques2017-11-091-1/+1
| | | | | | | | | | | | | | | - Update the OpenSSL shim to work with the new SDK - Change the ARM platform detection to work with VS2017
* | | Merge pull request #12782 from rraallvv/unified_headers_fixRémi Verschelde2017-11-091-0/+1
|\ \ \ | | | | | | | | add missing distutils.version.LooseVersion import
| * | | add missing distutils.version.LooseVersion importRhody Lugo2017-11-091-0/+1
| | | |
* | | | Make video mode initialization more intuitive, fixes #12022Juan Linietsky2017-11-0915-45/+0
|/ / /
* | | unified headers fixRhody Lugo2017-11-091-14/+8
| | |
* | | Compile Android with STL enabled by defaultAndreaCatania2017-11-081-1/+1
| | |
* | | Merge pull request #12604 from rraallvv/unified_headersRémi Verschelde2017-11-062-3/+37
|\ \ \ | |/ / |/| | add support for Android NDK unified headers (master)
| * | add support for Android NDK unified headersRhody Lugo2017-11-062-3/+37
| | |
* | | Prevent to stop music in another background app on iOSvolzhs2017-11-061-0/+3
| | |
* | | Merge pull request #12691 from eska014/webaudioRémi Verschelde2017-11-066-1119/+16
|\ \ \ | | | | | | | | Fix WebAudio and HTML5 build
| * | | Fix WebAudio and HTML5 buildLeon Krause2017-11-066-1119/+16
| | | |
* | | | Convert DOS line endings to Unix line endingsRémi Verschelde2017-11-051-90/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #12262 from AndreaCatania/pplugJuan Linietsky2017-11-0321-145/+4
|\ \ \ \ | | | | | | | | | | Physics server plug
| * | | | Implemented physics plugAndreaCatania2017-11-0421-145/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | SCons: make use_lto a global option and opt-in for iphoneRémi Verschelde2017-11-023-4/+6
| | | | | | | | | | | | | | | | | | | | Supersedes #12553, see discussion in #12552.
* | | | | Add Colemak keybindings to editor for osxN0hbdy2017-10-302-2/+4
| | | | |
* | | | | Implemented OS get_latin_keyboard_variant on x11Marcelo Fernandez2017-10-302-0/+34
| |/ / / |/| | |
* | | | Merge pull request #12467 from marcelofg55/emscripten_detectRémi Verschelde2017-10-301-2/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Detect javascript platform using EMSCRIPTEN env as well [ci skip]
| * | | | Detect javascript platform using EMSCRIPTEN env as wellMarcelo Fernandez2017-10-281-2/+5
| | | | |
* | | | | Disable logging until the logs location is sorted outRémi Verschelde2017-10-295-5/+15
|/ / / / | | | | | | | | | | | | Temporary workaround for #12277.
* | | | Merge pull request #12442 from mhilbrunner/patch-1Rémi Verschelde2017-10-271-4/+1
|\ \ \ \ | | | | | | | | | | detect.py: Fix KeyError if using MinGW and LTO
| * | | | detect.py: Fix KeyError if using MinGW and LTOmhilbrunner2017-10-271-4/+1
| | |/ / | |/| |
* / | | Travis: Simplify matrix, disable iphone and add X11 tools=no/clangRémi Verschelde2017-10-271-0/+4
|/ / / | | | | | | | | | | | | | | | | | | 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.
* | / Sound support for Javascript (untested).Juan Linietsky2017-10-262-3/+92
| |/ |/|
* | Implemented vsync OS functions for OS XMarcelo Fernandez2017-10-232-0/+20
| |