summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-07-27Merge pull request #62973 from bruvzg/sysfont_supportRémi Verschelde
2022-07-27Merge pull request #63121 from aaronfranke/editor-export-splitRémi Verschelde
2022-07-26Merge pull request #63481 from ↵Rémi Verschelde
m4gr3d/fix_remaining_scoped_storage_regressions_main Address remaining scoped storage regressions
2022-07-26Address remaining scoped storage regressionsFredia Huya-Kouadio
- Accelerate common path used to check the storage scope for a given path - Update the logic for the `get_as_text()` method - previous logic loads the content of a text file one byte at a time
2022-07-26Split up editor export code into multiple filesAaron Franke
2022-07-26Merge pull request #63096 from aaronfranke/exp-template-namesRémi Verschelde
2022-07-26Implement support for loading system fonts on Linux, macOS / iOS and Windows.bruvzg
2022-07-25Merge pull request #63459 from Kev/bigobj-for-msvc-releaseRémi Verschelde
2022-07-25Use bigobj for release MSVC buildsKevin Smith
Previously it was used only on debug builds, but recent additions to variant_call.cpp have made that unit too large even in release_debug. It was originally set to debug only because using it breaks mingw, so this only reinstates it for MSVC where it shouldn't have any drawbacks (famous last words). Test-Information: Builds for me with scons -j 40 platform=windows target=release_debug and my game then runs from it.
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-25Merge pull request #63219 from reduz/implement-vector4-projectionRémi Verschelde
2022-07-24Fixes `OS.get_unique_id()` string not getting printed properlyMaxIsJoe
Fixes #61023 Changing it back to how it's done on the 3.x branch fixed the text not being written properly.
2022-07-23Implement Vector4, Vector4i, Projectionreduz
Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-23Merge pull request #63341 from RandomShaper/fix_uwp_accum_inputRémi Verschelde
Flush buffered input events on UWP
2022-07-23Flush buffered input events on UWPPedro J. Estébanez
2022-07-22Update export template names for Windows, Mac, and LinuxAaron Franke
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