summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2021-08-24Merge pull request #52001 from floppyhammer/fix-window-decor-size-on-windowsMax Hilbrunner
Fix window decoration size on Windows
2021-08-23Fix window decoration size on Windowsfloppyhammer
2021-08-22Replace HTTP links with HTTPS for sites with HTTPS versionsAaron Franke
2021-08-22Merge pull request #49756 from ↵Michael Alexsander
Calinou/android-export-move-clear-previous-install-setting Move the Android "clear previous install" setting to Editor Settings
2021-08-21Check if vibration duration is > 0 on AndroidMarcus Brummer
2021-08-19HTML5: Handle GODOT_VERSION_STATUS env var in @GODOT_VERSION@Rémi Verschelde
Follow-up to #51002.
2021-08-18Delegate handling and implementation of the restart functionality to the ↵Fredia Huya-Kouadio
Godot host.
2021-08-18[CI] Upgrade Emscripten to 2.0.27.Fabio Alessandrelli
Update Godot Javascript FS library to manually depend on ERRNO_CODES.
2021-08-17Merge pull request #50360 from m4gr3d/address_external_dir_access_masterRémi Verschelde
Add support for Android scoped storage
2021-08-16Add partial support for Android scoped storage.ne0fhyk
This is done by providing API access to app specific directories which don't have any limitations and allows us to bump the target sdk version to 30. In addition, we're also bumping the min sdk version to 19 as version 18 is no longer supported by Google Play Services and only account of 0.3% of Android devices.
2021-08-16[android] Fixed wrong button mask for right clickModProg
2021-08-16Merge pull request #51116 from Calinou/macos-fix-xbox-bluetooth-controllersRémi Verschelde
Fix Xbox controllers in Bluetooth mode on macOS
2021-08-16Fix Xbox controllers in Bluetooth mode on macOSHugo Locurcio
This prevents the D-pad up arrow from being registered as pressed when it isn't, and pressing any direction from activating the next arrow clockwise of it. Co-authored-by: Scott Wadden <scott.wadden@gmail.com>
2021-08-16Move the Android "clear previous install" setting to Editor SettingsHugo Locurcio
This means the setting now applies to every project deployed from the editor, rather than being per-export preset.
2021-08-13Merge pull request #51587 from Calinou/use-unicode-multiplication-symbolRémi Verschelde
Use the Unicode multiplication symbol where relevant
2021-08-13Switch to input buffering on AndroidPedro J. Estébanez
Key, touch and joystick events will be passed directly from the UI thread to Godot, so they can benefit from agile input flushing. As another consequence of this new way of passing events, less Java object are created at runtime (`Runnable`), which is good since the garbage collector needs to run less. `AndroidInputHandler` is introduced to have a smaller cross-thread surface. `main_loop_request_go_back()` is removed in favor just inline calling `send_window_event()` at the most caller's convenience (i.e., leveraging the new `p_deferred`` parameter as appropriate). Lastly, `get_mouse_position()` and `get_mouse_button_state()` now just call through `Input` to avoid the need of sync of mouse data tracked on the UI thread.
2021-08-13Add input buffering frameworkPedro J. Estébanez
Input buffering is implicitly used by event accumulation, but this commit makes it more generic so it can be enabled for other uses. For desktop OSs it's currently not feasible given main and UI threads are the same).
2021-08-13Improve input event accumulationPedro J. Estébanez
- API has been simplified: all events now go through `parse_input_event()`. Whether they are accumulated or not depends on the `use_accumulated_input` flag. - Event accumulation is now thread-safe (it was not needed so far, but it prepares the ground for the following changes). - Touch drag events now support accumulation.
2021-08-13Merge pull request #51586 from m4gr3d/investigate_godot_resume_stalls_masterRémi Verschelde
Resolve issue where the Godot app remains stuck when resuming.
2021-08-13Merge pull request #51524 from RandomShaper/faster_vmaRémi Verschelde
Upgrade Vulkan Memory Allocator, use Volk on Android
2021-08-12Add support for prompting the user to retain app data on uninstall.Fredia Huya-Kouadio
Supported on Android 10 and higher.
2021-08-12Resolve issue where the Godot app remains stuck when resuming.Fredia Huya-Kouadio
This was caused by the fact that a new instance of Godot was created at resume while a previous instance already existed. The previous instance would then go through its cleanup lifecycle, and would thus attempt to close the entire app, leading to the system to restart the app, thus starting the cycle anew. The fix involves reusing the previous instance of Godot if one is available instead of creating a new one, as well as giving control to the host activity for how the process should be terminated.
2021-08-13Upgrade Vulkan memory allocatorPedro J. Estébanez
2021-08-12Android: Use volk instead of NDK Vulkan headersRémi Verschelde
We no longer build the Vulkan loader, and volk lets us load it dynamically. Roblox uses volk on Android so it should work well for us too.
2021-08-12Use the Unicode multiplication symbol where relevantHugo Locurcio
2021-08-12Merge pull request #50771 from naithar/feature/platform-export-refactoring-4.0Rémi Verschelde
2021-08-12Split uwp platform export template into multiple filesSergey Minakov
2021-08-12Split javascript export template into multiple filesSergey Minakov
2021-08-12Split windows platform export template into multiple filesSergey Minakov
2021-08-12Split osx platform export template into multiple filesSergey Minakov
2021-08-12Split android platform export template into multiple filesSergey Minakov
2021-08-12Split iphone platform export template into multiple filesSergey Minakov
2021-08-12Properly finishes Godot's Android activity when destroyed by the systemMarcus Brummer
2021-08-12Remove unnecessary iOS linker flags.bruvzg
2021-08-12Use "volk" instead of statically linked Vulkan loader.bruvzg
2021-08-10Use Key enum instead of plain integersAaron Franke
2021-08-08[macOS] Move captured mouse cursor to the center when window gain focus.bruvzg
2021-08-06[iOS] Use platform generated api to initialize iOS pluginsSergey Minakov
2021-08-06Fix vertical scroll/zoom for precision touchpadGeorg Wacker
Adds factor data for vertical mousewheel event, in line with horizontal mousewheel event
2021-08-01Make progress and errors translatable when exporting to AndroidHaoyu Qiu
2021-08-01Windows: Fix build with SCons 4.2.0Rémi Verschelde
2021-07-27Fix custom build exportFredia Huya-Kouadio
2021-07-27Removed Redundant assignement of name inside configure_joypad functionvitika9
2021-07-26Merge pull request #50878 from bruvzg/debug_entitlementRémi Verschelde
[macOS] Add "debugging" (`get-task-allow`) to the export options.
2021-07-26[macOS] Add "debugging" (`get-task-allow`) to the export options, to allow ↵bruvzg
using native debugger.
2021-07-25Remove unnecessary 'pass' statementluz paz
ref: https://lgtm.com/projects/g/godotengine/godot/?mode=tree&ruleFocus=910088
2021-07-25Fix various typos with codespellluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-22Move `alert` function from `DisplayServer` to `OS`.bruvzg
2021-07-22Fix MoltenVK static linking on macOS (add missing include path, Vulkan SDK ↵bruvzg
path option, use xcframework instead of static framework).