summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2017-11-21Merge pull request #13130 from endragor/gdnative-android-exportRémi Verschelde
Proper GDNative export on Android
2017-11-21Proper GDNative export on AndroidRuslan Mustakov
2017-11-21Merge pull request #13133 from endragor/resurrect-file-loggingRémi Verschelde
Return and repair file logging
2017-11-21Return and repair file loggingRuslan Mustakov
And make it configurable, too.
2017-11-21Native pan and zoom for macOSBernhard Liebl
2017-11-21Allow configuring iOS exportRuslan Mustakov
- EditorExportPlugin's _export_begin accepts all the arguments related to the current export (is_debug, path, flags). - EditorExportPlugin API is extended with methods allowing to configure iOS export: add_ios_framework, add_ios_plist_content, add_ios_linker_flags, add_ios_bundle_file. - iOS export template now contains Godot as a static library so that it can be linked with third-party Frameworks and GDNative static libraries. - Adds method to DirAccess for recursive copying of a directory. - Fixes iOS export to work with Xcode 9 (released recently).
2017-11-20Merge pull request #12387 from santouits/x1111Rémi Verschelde
Fix x11 boot logo position in fullscreen and in maximized
2017-11-20Merge pull request #13061 from eska014/html5-exportRémi Verschelde
Export boot splash image and add option for custom HTML shell file in HTML5 export
2017-11-20Merge pull request #13053 from akien-mga/methods-mkstrRémi Verschelde
Remove need to _MKSTR version strings and rename "revision" to "build"
2017-11-20Set android 'compileSdkVersion' to 24Konstantin Zaitsev
2017-11-20Rename the version's "revision" to "build"Rémi Verschelde
That "revision" was inherited from SVN days but had been since then used to give information about the build: "custom_build", "official", "<some distro's build>". It can now be overridden with the BUILD_NAME environment variable.
2017-11-20Pass engine name and version parts as proper stringsRémi Verschelde
Removes the need for _MKSTR all over the place which has the drawback of converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing a compilation error.
2017-11-20Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde
Add support for XDG Base Directory spec
2017-11-20Export boot splash and add custom HTML file option in HTML5 exportLeon Krause
2017-11-19Merge pull request #13045 from akien-mga/gles2-cleanupRémi Verschelde
Cleanup old references to GLES2 renderer
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-19Merge pull request #13044 from eska014/enginejsRémi Verschelde
Change HTML5 start-up API
2017-11-19Merge pull request #13033 from MednauN/masterRémi Verschelde
Add currency code to iOS product details response
2017-11-19Cleanup old references to GLES2 rendererRémi Verschelde
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.
2017-11-19Merge pull request #12961 from eska014/platform-docRémi Verschelde
Facilitate documenting platform-exclusive classes
2017-11-19Change HTML5 start-up APILeon Krause
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().
2017-11-19Add currency code to iOS product details responseEvgeny Zuev
2017-11-18Remove asm.js support from HTML5 platformLeon Krause
Since WebGL 2.0 is required, requiring WebAssembly support as well has little impact on compatibility.
2017-11-18Facilitate exposing platform-exclusive interfaces to all platformsLeon Krause
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.
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