summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-30Merge pull request #48685 from bruvzg/bundle_icon_4Rémi Verschelde
2021-09-29Merge pull request #52809 from selgesel/patch1Fabio Alessandrelli
Release pressed events when the window is blurred on HTML5 platform
2021-09-29HTML5: Fix minification error with Emscripten 1.39.9Rémi Verschelde
It used an old vendored version of acorn.js which seems to choke on this trailing comma. This is not a problem for more recent Emscripten versions. We disable the `comma-dangle` check in ESLint to prevent this issue.
2021-09-27[macOS, sandbox] Add export option to embed and sign helper executables.bruvzg
2021-09-24Replace `#pragma once` by traditional include guards for consistencyHugo Locurcio
`#pragma once` was used in a few files, yet we settled on using traditional include guards instead. The PooledList template comment was also moved to allow editors such as Visual Studio Code to display the comment when hovering PooledList. `app.h` was renamed to `app_uwp.h` to be less generic for the include guard.
2021-09-23Release pressed events when the window is blurred on HTML5 platformSelgesel
2021-09-21Merge pull request #52842 from Ev1lbl0w/fix_win_open_errcodeRémi Verschelde
Fix shell_open not returning errors on Windows
2021-09-21Merge pull request #52649 from Faless/js/4.x_audioworklet_nothreads_prRémi Verschelde
[HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads.
2021-09-19Fix Windows cursor with trails disappearing in fullscreenDan
Fixed by turning off mouse trails when going into fullscreen, then restoring trails when exiting fullscreen or game
2021-09-19Fix shell_open not returning errors on WindowsRicardo Subtil
2021-09-16Merge pull request #52715 from Calinou/linuxbsd-vulkan-driver-rebootRémi Verschelde
Mention that rebooting is required after updating graphics driver on Linux
2021-09-16Merge pull request #52720 from Faless/js/4.x_fix_wheelRémi Verschelde
[HTML5] Fix wheel/touch callback modifying event after parse.
2021-09-15[HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads.Fabio Alessandrelli
Performances are not great in general, bad on Firefox, on Chrome, well, it could be an improvement. Leave it as a fallback for now, but can be forced via project settings if desired (or custom JavaScript logic via the "args" option). I'm actually surprised this works, it involves so many allocations, but there's no way around it when SharedArrayBuffer is not available :(.
2021-09-15Merge pull request #52695 from Faless/js/4.x_audio_mix_rateFabio Alessandrelli
[HTML5] Use browser mix rate by default on the Web.
2021-09-15[HTML5] Fix wheel/touch callback modifying event after parse.Fabio Alessandrelli
The events should be duplicated or reinstantiated without assuming that parse_input will consume them immediately.
2021-09-15Mention that rebooting is required after updating graphics driver on LinuxHugo Locurcio
2021-09-15Add support for Play Asset Delivery.ne0fhyk
This only adds support for a subset of Play Asset Delivery: this causes a single install-time asset pack to always be present, but doesn't add support for dynamically downloaded asset packs.
2021-09-15Merge pull request #52696 from Faless/js/4.x_worklet_rb_bugRémi Verschelde
2021-09-15Merge pull request #52282 from Calinou/scons-improve-linuxbsd-build-messagesRémi Verschelde
Improve messages when compiling for Linux/*BSD
2021-09-15[HTML5] Fix bug in AudioWorklet when reading output buffer.Fabio Alessandrelli
Would attempt an out of bounds read, causing an exception.
2021-09-15[HTML5] Use browser mix rate by default on the Web.Fabio Alessandrelli
Browsers doesn't really like forcing the mix rate, e.g. Firefox does not allow input (microphone) if the mix rate is not the default one, Chrom* will exhibit worse performances, etc.
2021-09-15Re-enable building position-independent executables on Linux/*BSDHugo Locurcio
This provides better security at the cost of having misleading binary icons on some file managers. Now that recent Linux distributions no longer allow executing binaries by double-clicking them in a file manager (even if the binary is set to be executable), the usability cost of PIE is lowered. You have to use a terminal or install a `.desktop` file nowadays.
2021-09-14Merge pull request #52604 from Faless/js/4.x_input_fixFabio Alessandrelli
[HTML5] Fix input not working when buffered.
2021-09-12[HTML5] Fix input not working when buffered.Fabio Alessandrelli
After input buffering was reworked, input accumulation is now handled outside of OS, and the JavaScript plaform never implemented that. Additionally, the JavaScript platform is quite obnoxious about calling specific APIs outside specific user triggered events. This commit adds event flushing during the main iteration, and forces it during keydown/keyup/mousedown/mouseup/touchstart/touchend/touchcanel events (effectively only accumulating only "move" events).
2021-09-12[HTML5] Fix build error due to missing string cast.Fabio Alessandrelli
2021-09-11Add logo attribution for Android, HTML5 and Linux platform iconsHugo Locurcio
- Tweak the Android platform logo to remove the Android wordmark, as it can't be used without explicit permission.
2021-09-10Clean DisplayServerWindows and add missing guardsMax Hilbrunner
2021-09-08Use current androidx Fragment library instead of legacy librariesMarcel Admiraal
2021-09-07Merge pull request #47391 from Calinou/platform-feature-tags-lowercaseJuan Linietsky
Make platform feature tag names lowercase
2021-09-03fix fullscreen issue on macOSDaniel Kariv
adds a call for resize event.
2021-09-01Merge pull request #52159 from m4gr3d/addoculus_openxr_Fredia Huya-Kouadio
Update the AndroidManifest to enable access to Oculus OpenXR runtime
2021-09-01Add support for adding plugin views behind the main view on AndroidPouleyKetchoupp
Doesn't change the default behavior, but allows plugins to add their view behind the main view, which gives more control over what happens with inputs and can be useful along with transparent rendering.
2021-08-31Make platform feature tag names lowercaseHugo Locurcio
Feature tag names are still case-sensitive, but this makes built-in feature tags more consistent. - `Windows` -> `windows` - `OSX` -> `osx` - `LinuxBSD` -> `linuxbsd` - `Android` -> `android` - `iOS` -> `ios` - `HTML5` -> `html5` - `JavaScript` -> `javascript` - `UWP` -> `uwp`
2021-08-31Improve messages when compiling for Linux/*BSDHugo Locurcio
- Don't display messages when enabling PulseAudio/ALSA/D-Bus/udev as these become noisy in incremental builds. - Improve warning and error messages to be more descriptive and consistent.
2021-08-31Merge pull request #49598 from ↵Fabio Alessandrelli
Calinou/web-editor-improve-download-project-source-zip-name Improve the generated ZIP archive name when using Download Project Source
2021-08-29Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez
2021-08-27Update the AndroidManifest to enable access to Oculus OpenXR runtime.ne0fhyk
2021-08-27Fix bad size after restoring a minimized window under Windowsjmb462
2021-08-25Merge pull request #47829 from Calinou/improve-crash-handler-displayHugo Locurcio
Improve crash handler message display
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.