summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-07-22Merge pull request #63278 from akien-mga/scons-linux-refactor-linkerRémi Verschelde
2022-07-22Merge pull request #63303 from hansemro/x11-eraser-case-insensitiveRémi Verschelde
[X11] Do case-insensitive search for pen inversion detection
2022-07-21[X11] Do case-insensitive search for pen inversion detectionHansem Ro
2022-07-22SCons: Refactor Linux linker options with `linker=<bfd|gold|lld|mold>`Rémi Verschelde
The new option is `linker` and lets the user specify the argument to the`-fuse_ld=` linker flag directly. The supported options are: - `default`: No change, typically uses GNU ld (bfd) unless the user or distro picked a different default `/usr/bin/ld`. - `bfd`: GNU ld from binutils - `gold`: GNU gold from binutils - `lld`: lld from LLVM - `mold`: mold, an extremely fast modern linker, not (yet) intended for use in production but great for development speed. Provided by distro `mold` package or needs to be compiled from source and installed to `/usr` otherwise. Removes the `use_lld=yes` option, and make lld actually usable with GCC too. Not all the above are compatible or recommend for LTO, we recommend using GNU ld with GCC LTO, or lld with LLVM ThinLTO.
2022-07-21[Export] Update generated CLI helper script to work on clean macOS Monterey ↵bruvzg
installation.
2022-07-21Rename OSX to macOS and iPhoneOS to iOS.bruvzg
2022-07-20Improve `linuxbsd` headless building, cleanup build scriptsRiteo
Now the `linuxbsd` platform can be built headlessly (e.g. without X11 development libraries). I also cleaned up some weird (old?) usages of the `env` variable which seem to make no difference and are used nowhere else.
2022-07-20Remove `-pipe` from `LINKFLAGS`Riteo
For some reason this fixes the CI from going OOM.
2022-07-19[Windows] Set fullscreen flags on window creation.bruvzg
2022-07-19Improve DisplayServer.window_set_current_screenbruvzg
Prevent unnecessary fullscreen toggle animation on macOS, when screen is not changed Fix window position on Linux/X11
2022-07-15HTML5: Make `OS.get_locale()` match other platformspattlebass
Fixes #63029.
2022-07-13Merge pull request #62824 from MinusKube/haunted-editor-bugRémi Verschelde
Fix haunted editor bug causing weird issues with mouse behaviour
2022-07-11Merge pull request #62843 from RandomShaper/fix_iphone_inputRémi Verschelde
Flush accumulated input events on iOS
2022-07-08Flush accumulated input events on iOSPedro J. Estébanez
2022-07-08Add static methods for creating Image and ImageTexturekobewi
2022-07-07Move windows display server's 'outside' field to WindowData structMinusKube
2022-07-07Merge pull request #62813 from bruvzg/android_fix_zstd_buildRémi Verschelde
2022-07-07Use clang as assembler to ensure preprocessing is done, and add assembler ↵bruvzg
"target" flag.
2022-07-07[macOS] Improve file association handling, and allow URL schema handling.bruvzg
2022-07-06Check if GL manager exist to prevent crash when using multithreaded renderer ↵bruvzg
with Vulkan.
2022-07-05Add full support for Android scoped storage.Fredia Huya-Kouadio
This was done by refactoring directory and file access handling for the Android platform so that any general filesystem access type go through the Android layer. This allows us to validate whether the access is unrestricted, or whether it falls under scoped storage and thus act appropriately.
2022-07-04Merge pull request #62212 from hansemro/eraser-detect-4Rémi Verschelde
Add inversion/eraser-end property for tablet pens
2022-07-04[macOS, Windows, X11] Add stylus inverted/eraser support toHansem Ro
InputEventMouseMotion event
2022-07-03Merge pull request #62611 from akien-mga/android-preset-refactor-custom-buildRémi Verschelde
2022-07-03Android: Refactor Custom Build options in export presetRémi Verschelde
Instead of reusing the custom_template/ prefix which is actually only used for the prebuilt APK workflow, we add a new custom_build/ prefix. This is a slight compat breakage (users will have to redo their config) but enables us to group the Min SDK and Target SDK options where they make sense, and avoid reusing the previously hardcoded Target SDK 30 from Godot 3.4. Those two options are now strings instead of integers so that we can keep them empty by default, and show their default value using a placeholder. So some validation has been added to make sure they are proper ints. The upper bound on Target SDK was also removed as it's a common use case to use it to try to target newer released SDKs. But we warn the user that this wasn't validated by us. The export info dialog is now exclusive so that when it doesn't auto-close, i.e. when it errors, you don't close it by mistake by clicking outside. Fixes #62465.
2022-07-03[macOS] Use statically linked MoltenVK by default, automatically detect ↵bruvzg
MoltenVK SDK install (only in the default location).
2022-07-02Merge pull request #62618 from Bromeon/bugfix/exit-codeRémi Verschelde
Fix exit code of --help and --version, and test them in CI
2022-07-02Merge pull request #62607 from RPicster/master-default-cursor-fixFabio Alessandrelli
Default cursor fix for html5 export
2022-07-02Fix exit code of --help and --version, and test them in CIJan Haller
Corrects prior regression which caused ERROR output and exit code of 1.
2022-07-02[macOS export] Unref FileAccess to ensure chmod is successful.bruvzg
2022-07-01Default cursor fix for html5 exportRaffaele Picca
2022-07-01Add arch flag to assembler to fix build on ARM64 macOS / iOS.bruvzg
2022-06-30Properly check for fullscreen toggle made through the Window ManagerWilson E. Alvarez
Fixes #40007. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-06-26Merge pull request #61691 from madmiraal/android-ndk-23Rémi Verschelde
Upgrade Android NDK to r23 LTS
2022-06-25Merge pull request #62289 from madmiraal/fix-61816Fredia Huya-Kouadio
Remove broken scroll gesture on Android
2022-06-25Upgrade Android NDK to r23 LTSMarcel Admiraal
2022-06-23Update android:targetSdkVersion from 30 to 31Gustavo Maciel
Starting in August 2022, new apps will need to target API level 31 (Android 12) or higher and adjust for behavioral changes. Read more here: https://developer.android.com/google/play/requirements/target-sdk
2022-06-21Remove broken scroll gesture on AndroidMarcel Admiraal
2022-06-17Merge pull request #62000 from gregcsokas/masterRémi Verschelde
2022-06-16Adding function key support from F17 to F35gregcsokas
OSX supports everything by default, Linux is also capable of supporting every function key, Windows as I know support only up to F24
2022-06-16Ensure joystick has been added or not already removed when processing inputMarcel Admiraal
2022-06-14refactoring: simplify compiler version checkJiri Suchan
2022-06-14[HTML5] Add GDNative+Threads build.Fabio Alessandrelli
2022-06-09Migrate the Godot Editor java source file to Kotlin.Fredia Huya-Kouadio
2022-06-08Add readable export errors.bruvzg
2022-06-02Remove mouse events that closed the popup from queue, to fix pop-up reopening.bruvzg
2022-06-01Merge pull request #61579 from madmiraal/android-kotlin-java-versionRémi Verschelde
Ensure Android Java and Kotlin compile to the same version
2022-06-01Ensure Android Java and Kotlin compile to the same versionMarcel Admiraal
2022-05-31Misc editor tweaks and polishes:Fredia Huya-Kouadio
- Using a bucketized approach to select the editor scale in order to avoid too high values - Add default app dimensions: used on Android devices with free floating app windows to set the default app frame - Add ability to launch the Game window in an adjacent frame when in multi window mode
2022-05-31Merge pull request #61573 from madmiraal/android-cleanupRémi Verschelde
Cleanup Android C++ code