summaryrefslogtreecommitdiffstats
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde2020-05-1014-39/+78
| | | | | | | Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
* Style: Add missing copyright headersRémi Verschelde2020-05-101-2/+2
|
* Merge pull request #38561 from bruvzg/wintab_extra_mm_eventsRémi Verschelde2020-05-081-0/+55
|\ | | | | WinTab: Make movement smoother and handle pressure/tilt changes when cursor is not moving.
| * WinTab: Adds extra "mouse move" events to make movement smoother and ↵bruvzg2020-05-081-0/+55
| | | | | | | | correctly handle pressure/tilt change when cursor is not moving.
* | Added mapping for KEY_MENU to VK_APPS (0x5d) so context menu's triggered by ↵Eric M2020-05-081-1/+1
|/ | | | the keyboard menu button work
* Remove WinTab error message.bruvzg2020-05-071-1/+1
|
* clang-format: Add JavaImportGroups for Java codeRémi Verschelde2020-05-0636-45/+109
|
* Merge pull request #38483 from bruvzg/wintab_apiRémi Verschelde2020-05-052-8/+224
|\ | | | | Add support for the WinTab API for pen input.
| * [Windows] Add support for the WinTab API for pen input.bruvzg2020-05-052-8/+224
| |
* | Address `OS.request_permissions()` bug when non-platform permission(s) is ↵Fredia Huya-Kouadio2020-05-051-4/+7
|/ | | | included
* [Linux/Windows] Set pressure to 1.0f when primary button is pressed and ↵bruvzg2020-05-034-4/+37
| | | | device is not pressure sensitive.
* Merge pull request #37756 from madmiraal/fix-x11-pressure-tiltRémi Verschelde2020-05-032-34/+55
|\ | | | | Fix X11 pressure and tilt values.
| * Fix X11 pressure and tilt values.Marcel Admiraal2020-04-102-34/+55
| |
* | Merge pull request #37414 from Schroedi/fix_html_mouse_inputFabio Alessandrelli2020-05-011-1/+1
|\ \ | | | | | | Move wheel handlers from window to canvas element in HTML
| * | Move mouse wheel handler from window to canvas element in HTMLChristoph Schröder2020-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to https://github.com/godotengine/godot/pull/36557 At least in chrome, the following error is printed for each mouse wheel rotation: [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312 This PR moves the handler to the canvas and thereby fixes the error. Tested on: Chrome and Firefox (MacOS), Firefox, Chrome(Android), Safari (IPad + MacOS)
* | | Merge pull request #37802 from ThakeeNathees/window-position-bug-osx-x11Rémi Verschelde2020-04-293-4/+12
|\ \ \ | | | | | | | | display server window position bug fix
| * | | display server window position bug fix (#37323)Thakee Nathees2020-04-113-4/+12
| | | |
* | | | Rename InputFilter back to InputRémi Verschelde2020-04-2827-141/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
* | | | Merge pull request #37193 from madmiraal/fix-android-export-unicode-errorsRémi Verschelde2020-04-281-5/+23
|\ \ \ \ | |_|/ / |/| | | Fix Android export throwing Unicode errors.
| * | | Fix Android export throwing Unicode errors.Marcel Admiraal2020-03-201-5/+23
| | | |
* | | | Merge pull request #38253 from nekomatata/bullet-update-2.90Rémi Verschelde2020-04-271-3/+5
|\ \ \ \ | | | | | | | | | | Update to bullet master (2.90)
| * | | | Update to bullet master (2.90)PouleyKetchoupp2020-04-271-3/+5
| | | | |
* | | | | Windows: Appease capricious MSVC versions with moody headersRémi Verschelde2020-04-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes #37799. Fixes #37986.
* | | | | [macOS] Re-add define for build with 10.14 SDK, remove unsupported 10.12 checks.bruvzg2020-04-262-20/+16
| | | | |
* | | | | Merge pull request #35382 from Calinou/html5-export-title-tagMax Hilbrunner2020-04-261-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Set the `title` tag in the HTML5 export immediately
| * | | | | Set the `title` tag in the HTML5 export immediatelyHugo Locurcio2020-04-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the project title display without having to wait for the project to finish loading.
* | | | | | Fix detection logic for the Android sdk pathFredia Huya-Kouadio2020-04-241-1/+1
| |/ / / / |/| | | | | | | | | | | | | | The previous logic used the 'tools' directory within the Android sdk to validate it. That directory was recently deprecated and removed from the Android sdk folder (https://developer.android.com/studio/releases/sdk-tools)
* | | | | Fix Android templates size regressionFredia Huya-Kouadio2020-04-232-2/+6
|/ / / / | | | | | | | | | | | | | | | | The issue was caused by PR #36906 which changes prevented the generated shared libraries from being stripped. Since the change is only needed for development (debugging) purposes, it's commented out by default.
* | | | Merge pull request #37895 from qarmin/more_leak_fixesRémi Verschelde2020-04-161-1/+4
|\ \ \ \ | | | | | | | | | | Fixes leaks in ResourceCache, Vulkan and X11
| * | | | Fixes leaks in ResourceCache, Vulkan and X11qarmin2020-04-151-1/+4
| | | | |
* | | | | Migrate legacy apache dependency to the GodotPayment pluginfhuya2020-04-156-7/+8
|/ / / / | | | | | | | | | | | | This is the only location in the codebase where it's being used, so no need to make the main lib have a dependency on it.
* | | | Android: Bump build tools to 29.0.3Rémi Verschelde2020-04-141-1/+1
| | | |
* | | | Delete unused drawable resources.fhuya2020-04-134-0/+0
| | | |
* | | | Validate supported architectures when exporting to AndroidSkyJJ2020-04-131-0/+9
| | | |
* | | | Add signal support to Godot Android plugin:fhuya2020-04-108-188/+480
| | | | | | | | | | | | | | | | Supports registering and emitting signal from a Godot Android plugin
* | | | Merge pull request #37256 from m4gr3d/add_custom_build_gradle_settingsRémi Verschelde2020-04-102-0/+7
|\ \ \ \ | | | | | | | | | | Update Android custom template build configuration
| * | | | Update Android custom template build configuration.fhuya2020-04-072-0/+7
| | | | |
* | | | | Merge pull request #37745 from nekomatata/vulkan-warnings-androidRémi Verschelde2020-04-101-8/+0
|\ \ \ \ \ | |_|_|_|/ |/| | | | Fix extra warnings in Android build
| * | | | Fix extra warnings in Android buildPouleyKetchoupp2020-04-101-8/+0
| | |_|/ | |/| |
* / | | Fix loss of precision in X11 device info.Marcel Admiraal2020-04-101-4/+4
|/ / /
* | | Display Server supportPouleyKetchoupp2020-04-0810-740/+935
| | |
* | | Vulkan rendering for AndroidPouleyKetchoupp2020-04-0324-181/+484
| | |
* | | Merge pull request #37533 from akien-mga/gradle-downgrade-3.5.3Rémi Verschelde2020-04-021-1/+1
|\ \ \ | | | | | | | | Android: Downgrade gradle plugin to 3.5.3
| * | | Android: Downgrade gradle plugin to 3.5.3Rémi Verschelde2020-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the NDK installed locally, gradle plugin 3.6.0 seems to enforce a specific older NDK version, and will fail building if you don't have it installed with: ``` No version of NDK matched the requested version 20.0.5594570. Versions available locally: 21.0.6113669 ``` Upstream issue: https://github.com/gradle/gradle/issues/12440
* | | | Merge pull request #37525 from lupoDharkael/replace-0LRémi Verschelde2020-04-021-1/+1
|\ \ \ \ | | | | | | | | | | Replace 0L with a casted nullptr
| * | | | Replace 0L with a casted nullptrlupoDharkael2020-04-021-1/+1
| |/ / /
* / / / Replace more occurrences of NULL with nullptrRémi Verschelde2020-04-022-3/+3
|/ / /
* | | Replace NULL with nullptrlupoDharkael2020-04-0258-417/+417
| | |
* | | Merge pull request #37504 from qarmin/out_of_bound_cursorRémi Verschelde2020-04-021-8/+9
|\ \ \ | | | | | | | | Fix array out of bounds access caused by uninitialised variables
| * | | Fix out of bound array access caused by unassigned variableRafał Mikrut2020-04-011-8/+9
| | | |