summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2019-04-18Use SHGetKnownFolderPath instead of SHGetFolderPathW.KLee1248
When getting system directories for Windows, we currently use SHGetFolderPathW. This is a deprecated function and doesn't support "Downloads" folders. As a replacement, this commit uses the newer SHGetKnownFolderPath function, which is supported since Windows Vista. Godot 3.0 only supports Windows 7+, so we don't need to use SHGetFolderPathW for backwards compatibility. Fixes #26876
2019-04-16Merge pull request #28058 from guilhermefelipecgs/fix_28024Rémi Verschelde
Add Input::get_current_cursor_shape
2019-04-15Add Input::get_current_cursor_shapeGuilherme Felipe
[Clean up] Removed unused/unnecessary methods.
2019-04-12Move IDHandler JS module to platform from WebsockFabio Alessandrelli
2019-04-10Force utf-8 source file encoding in MSVCWindy Darian
On Windows, when "Language for non-Unicode programs" were set to "Japanese (Japan)", MSVC would by default use Shift JIS (code page 932) to interpret source files, which would result in test_string failing to compile because of characters in `test_34()`. Forcing utf-8 for MSVC fixes the issue
2019-04-10Merge pull request #27815 from Faless/unix/mem_accessHein-Pieter van Braam
Fix jump over uninitialized value in OS Unix/X11
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-09Fix jump over uninitialized value in OS Unix/X11Fabio Alessandrelli
2019-04-09Merge pull request #27490 from bruvzg/macos_non_resizable_fullscreenRémi Verschelde
Allow non-resizeable windows to enter full-screen mode.
2019-04-07Merge pull request #27067 from shartte/remove-context-glRémi Verschelde
Remove ContextGL
2019-04-06Remove unused importsHendrikto
2019-04-06Remove ContextGL since as an abstraction it's unused.Sebastian Hartte
2019-04-06Use mix rate and output latency constants in audio driversRémi Verschelde
Fix default mix rate in Xaudio2 and potential shadowing issue in JAndroid.
2019-04-06Merge pull request #27010 from BastiaanOlij/restructure_android_glueRémi Verschelde
Restructuring android glue code to make it easier to extend
2019-04-05SCons: add `methods.using_clang` to check used compilerRémi Verschelde
Also rename `use_gcc` to `using_gcc` to make it clear that it returns a config but does not alter it.
2019-04-05Restructuring glue code to make it easier to extendBastiaan Olij
2019-04-03SCons: Fix python3 compat for builtin_bullet=noRémi Verschelde
2019-04-02Enable warnings=extra on clang and GCC testers.marxin
And remove 2 warnings from warnings=extra.
2019-04-01Merge pull request #26958 from bruvzg/macos_hidpi_fixesRémi Verschelde
Fix hiDPI scaling support in `get_real_window_size` and `set_window.size`
2019-03-28[macOS] Allow non-resizeable windows to enter fullscreen mode.bruvzg
2019-03-20Revert accidental commitsPedro J. Estébanez
This reverts commit fb37284c027b494ed3ec21124001fcb729f42cc4. This reverts commit 4db0f51b9aa76cfc7649787fe1970af606ce8dab.
2019-03-20Create class for shared memory blocks [wip]Pedro J. Estébanez
2019-03-16Add EAGLContext for the fallback caseSam Green
2019-03-14Add logging around opengl es context creation. Ensure we can access project ↵Sam Green
settings prior to creating our gl es context, so we can properly determine which driver to use.
2019-03-12Merge pull request #26962 from ibrahn/small-x11setcontext-fixRémi Verschelde
fix for access after free in OS_X11::set_context.
2019-03-12fix for access after free in OS_X11::set_context.Ibrahn Sahir
2019-03-12Merge pull request #26957 from nekomatata/vs-natvis-fixRémi Verschelde
Fixed & improved Visual Studio custom debugger visualization
2019-03-12[macOS] Fix hiDPI scaling support in `OS.get_real_window_size` and ↵bruvzg
`OS.set_window.size` functions.
2019-03-12Fixed & improved Visual Studio custom debugger visualizationPouleyKetchoupp
2019-03-11HTML5: Fix ETC export for GLES2 fallback on mobileRémi Verschelde
2019-03-08Request Android record permission when neededDESKTOP-3H3MR3A\eloisa
2019-03-07Merge pull request #26745 from akien-mga/android-modules-defRémi Verschelde
Define android/modules globally so it appears in Project Settings
2019-03-07Define android/modules globally so it appears in Project SettingsRémi Verschelde
Until now people had to add it manually to project.godot to load custom modules.
2019-03-07osx: update mouse position on mouse pressPhilip Whitfield
2019-03-06Merge pull request #26672 from RandomShaper/fix-22955-android-context-lossRémi Verschelde
Restart game on GL context loss on Android
2019-03-06[macOS] Fixes NumPad keys detection, adds some missing key mappings.bruvzg
2019-03-06Restart game on GL context loss on AndroidPedro J. Estébanez
Bonus: Remove useless old code about reload hooks Fixes #22955.
2019-03-06Merge pull request #26707 from bruvzg/fix_macos_mscrollRémi Verschelde
Fix macOS accumulated mouse scroll events.
2019-03-06Fix macOS accumulated mouse scroll events.bruvzg
2019-03-06Fix directory check when exporting projectvolzhs
Fix #26702
2019-03-06Merge pull request #26633 from akien-mga/driver-fallback-etcRémi Verschelde
Disable driver fallback to GLES2 by default
2019-03-06Merge pull request #26666 from Calinou/update-server-buildsystemRémi Verschelde
Update the server platform's `detect.py` to match x11's
2019-03-05Merge pull request #26664 from marxin/fix-25714-__bswap_16Rémi Verschelde
Replace usage of __bswap_16 with BSWAP16 (#25714).
2019-03-05Merge pull request #26626 from rluders/misleading-error-message-exportRémi Verschelde
Fixing misleading error message when trying to export
2019-03-05Update the server platform's `detect.py` to match x11'sHugo Locurcio
This adds support for LTO, UBSAN/ASAN/LSAN, debugging symbols options and `optimize=size` in the `server` platform.
2019-03-05Replace usage of __bswap_16 with BSWAP16 (#25714).marxin
2019-03-05Fixes misleading error message when trying to exportRicardo Lüders
This patch fixes the misleading error message when users try to "export all" into an invalid destination path. Closes #26539
2019-03-05Disable driver fallback to GLES2 by defaultRémi Verschelde
GLES2 is not designed to be a drop-in replacement for the GLES3 backend, so the fallback mode has to be used knowingly. It *can* make sense for simple projects which make sure to handle the differences between both rendering backends, but most users should stick to one supported backend. By making it opt-in, we can now use this parameter to define whether to export ETC textures to Android and iOS when using GLES3 + Fallback. When using GLES3 without Fallback on Android, set the proper min GLES version in the AndroidManifest. Also made the option boolean and renamed it for clarity and to avoid conflict with the previous String option (which would always evaluate as "true" otherwise). Fixes #26569.
2019-03-05Fix HTML5 quick preview URLbruvzg
2019-03-04Remove microphone from export options and distribution plistSam Green