summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2019-08-21iOS>=11 platform - when handling gestures on screen edges, godot apps should ↵fogine
have priority over OS Solves an issue where iOS would steal InputEventTouch events when near screen edges in order to handle system wide gestures. Fixes #31503
2019-08-21Merge pull request #31437 from volzhs/vibrate-mobileRémi Verschelde
Support vibration for Android and iOS
2019-08-21Merge pull request #29871 from Faless/crypto/initial_prRémi Verschelde
More Crypto, SSL server, crt/key as Resource, HashingContext
2019-08-21Support vibration for Android and iOSvolzhs
2019-08-20Shut down Godot processes on app exit.fhuya
2019-08-19Move CryptoCore to it's own folder.Fabio Alessandrelli
Crypto classes will be placed in core/crypto.
2019-08-14Merge pull request #31266 from ↵Rémi Verschelde
IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
2019-08-13Merge pull request #31336 from Calinou/scons-libs-use-listsRémi Verschelde
Always use lists for `LIBS` in SCons
2019-08-12Always use lists for `LIBS` in SConsHugo Locurcio
This closes #31288.
2019-08-12https://github.com/godotengine/godot/issues/31297 - HTML5: ↵mellondill
this.rtenv.callMain is not a function when using latest-upstream backend Added needed changed for normal compiling with emscripten 1.38.41 and later
2019-08-12Export: Remove temp files from cache after exportRémi Verschelde
So far we left most temporary files lying around, so this attempts to fix that. I added a helper method to DirAccess to factor out the boilerplate of creating a DirAccess, checking if the file exists, remove it or print an error on failure.
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-10OS_X11::set_window_maximized gives up after 0.5sCarl Drougge
Spinning forever is clearly worse, especially since this happens on at least FVWM even though the window actually is maximized.
2019-08-09Fix audio capture naming in JavascriptSaracen
2019-08-09fix usage of old macro when new variant intendedRobin Hübner
2019-08-09Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner
"modules/gdnative", "modules/gdscript" directories.
2019-08-07Add feature tag for hmd devices based on DOFCameron Reikes
- Necessary according to https://developers.google.com/vr/develop/android/3dof-to-6dof
2019-08-07Merge pull request #30468 from SaracenOne/expose_audio_captureRémi Verschelde
Exposes capture methods to AudioServer + documentation
2019-08-07Merge pull request #31174 from qarmin/thread_sanitizerRémi Verschelde
Added Thread Sanitizer
2019-08-07Added Thread Sanitizerqarmin
2019-08-05Fix wrong mouse wheel position for MOUSE_MODE_CAPTURED on WindowsTan Wang Leng
WM_MOUSEWHEEL and WM_MOUSEHWHEEL report mouse coordinates relative to the screen (see lParam in [1]), rather than to the window like the rest of the mouse events. The current code already makes adjustments to take that into account. However, it only makes the adjustments if the mouse is not captured, and the coordinates are always relative to the screen regardless of whether the mouse is captured or not, so let's fix the code to always consistently apply the adjustments. This fixes #29559. [1] - https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-mousewheel
2019-07-30Merge pull request #30961 from Calinou/window-size-errorRémi Verschelde
Turn `OS.set_min/max_window_size()` warnings into errors
2019-07-30Android: Remove unusable android_stl=no optionRémi Verschelde
As of 3.1 and later, we have too many thirdparty C++ dependencies and some internal uses of `new` and `delete` too for it to make sense to build without the STL on Android. The option has been broken since 3.0, and the "System STL" that we relied on for basic support of `new` and `delete` is likely to be dropped from the NDK: https://android.googlesource.com/platform/ndk/+/ndk-release-r20/docs/BuildSystemMaintainers.md#System-STL
2019-07-30Android: Drop support for NDK < r15Rémi Verschelde
NDK r15c was released over two years ago (July 2017), and we cannot build against r14b anyway as it seems to fail with our setup to link the STL.
2019-07-30Turn `OS.set_min/max_window_size()` warnings into errorsHugo Locurcio
Since invalid values will cause the setting to be discarded, it makes more sense to display an error message instead of a warning message.
2019-07-29Fix strict-aliasing warning in OS_Windows::get_unix_time.Ibrahn Sahir
2019-07-24Fix crash caused by a9a0d0fb15cc5e028dbf8dab8b46d3dc197c4678Guilherme Felipe
2019-07-23Merge pull request #30716 from qarmin/fixed_static_analiser_codeRémi Verschelde
Fix some code found by Coverity Scan and PVS Studio
2019-07-23Fix some code found by Coverity Scan and PVS Studioqarmin
2019-07-22Fix type mismatch in iOS interface orientation checksRémi Verschelde
Not sure why this error popped up when I enabled C++11 on the codebase, but I guess this should fix it.
2019-07-22SCons: Fix uses of [].append instead of env.add_source_files()Rémi Verschelde
Also added support for SCons project-absolute paths (starting with #) and warning about duplicates in add_source_files(), and fixed default_controller_mappings.gen.cpp being included twice after first build due to *.cpp globbing. Part of #30270.
2019-07-22Emscripten: Do not define BINARYEN_TRAP_MODE='clamp'Rémi Verschelde
It is not supported in Emscripten's `latest-upstream` LLVM backend, and doesn't seem necessary in the `latest` backend either. It was initially added in #22857 to solve a compilation error with the latter. Part of #30270.
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Removed an unused commitunknown
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-16CameraServer is needed for editor nodeCameron Reikes
- Editor asks ClassDB for docs - ClassDB asks CameraFeed for default parameters - In CameraFeed's constructor, polls CameraServer
2019-07-15Exposes capture methods to AudioServer, variable renames for consistency,Saracen
added documentation.
2019-07-10Merge pull request #30465 from guilhermefelipecgs/cursor_blinkingRémi Verschelde
Fix cursor blinking in integrated GPUs
2019-07-09Fix cursor blinking in integrated GPUsGuilherme Felipe
Optimization for Input::set_custom_mouse_cursor when used inside _process function. (Avoids cursor blinking in low end devices)
2019-07-09Better detect Emscripten toolchain.Fabio Alessandrelli
Emscripten is apparently changing the variables in its config file, causing potential breakage of our build system. Binaries of the latest/latest-upstream releases are located in a subfolder of BINARYEN_ROOT called emscripten. Binaries of the other releases (e.g. sdk-1.38.31-64bit) are instead placed under the EMSCRIPTEN_ROOT folder. This PR checks if BINARYEN_ROOT has a subfolder called emscripten, if that does not exists, it falls back to checking the EMSCRIPTEN_ROOT. This way we give precedence to the new releases, given that activating multiple releases sequentially might result in having mismatching BINARYEN_ROOT and EMSCRIPTEN_ROOT.
2019-07-08Merge pull request #30374 from BastiaanOlij/fix_ios_privilegesRémi Verschelde
iOS Microphone and Camera privileges improvements
2019-07-08Merge pull request #30407 from qarmin/small_fixessRémi Verschelde
Fixes minor issues found by static analyzer
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-07-06Added release function to PoolVector::Access.Ibrahn Sahir
For clarity, assign-to-release idiom for PoolVector::Read/Write replaced with a function call. Existing uses replaced (or removed if already handled by scope)
2019-07-06Add microphone privilege settings support back into export and add privilege ↵Bastiaan Olij
exist check to camera server for iOS
2019-07-05Merge pull request #24086 from RandomShaper/bundle-pck-to-executableRémi Verschelde
Enhance game export
2019-07-05Merge pull request #26674 from hunte922/masterRémi Verschelde
Hide command prompt launched by OS.execute
2019-07-04Hide command prompt launched by OS.executehoontee
Currently, the console appears when running OS.execute in an exported project, but not in the editor. This change prevents it from appearing in either. Only affects console applications.
2019-07-04Remove libwebsocket. No longer used, yay!Fabio Alessandrelli
2019-07-03Add embedded PCK option to PC platformsPedro J. Estébanez
The basic point is as in 2.1 (appending the PCK into the executable), but this implementation also patches a dedicated section in the ELF/PE executable so that it matches the appended data perfectly. The usage of integer types is simplified in existing code; namely, using plain `int` for small quantities.