summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-08-02Merge pull request #61315 from lawnjelly/variant_bucket_poolsRémi Verschelde
Variant memory pools
2022-08-01File: Re-add support to skip CR (`\r`) in `File::get_as_text`Rémi Verschelde
This was removed in #63481, and we confirmed that it's better like this, but we add back the possibility to strip CR as an option, to optionally restore the previous behavior. For performance this is done directly in `String::parse_utf8`. Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR. Supersedes #63717.
2022-07-31Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov
up editor includes
2022-07-31Visual Studio Natvis file works for Variant againderammo
2022-07-30Merge pull request #63563 from aaronfranke/export-archRémi Verschelde
2022-07-30Merge pull request #63647 from bruvzg/exp_msg_impRémi Verschelde
Improve some export error messages.
2022-07-29Merge pull request #61647 from KoBeWi/SaverResourceRémi Verschelde
2022-07-29Improve some export error messages.bruvzg
2022-07-29[Linux] Fix build with missing DBUS.bruvzg
2022-07-29Swap arguments of ResourceSaver.save()kobewi
2022-07-29Merge pull request #63595 from reduz/remove-signal-connect-bindsRémi Verschelde
Remove Signal connect binds
2022-07-29Update export dialog to handle many architecturesAaron Franke
2022-07-29Make some editor export methods constAaron Franke
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-29[Linux] Load dbus libraries dynamically.bruvzg
2022-07-29[Linux] Replace fontconfig wrapper with a one generated from the older ↵bruvzg
library version (2.12.6, Ubuntu 18.04 LTS).
2022-07-27Merge pull request #63548 from pattlebass/master-html5-vibrateRémi Verschelde
2022-07-27HTML5: Add support for `Input.vibrate_handheld()`pattlebass
2022-07-27Load fontconfig libraries dynamically.bruvzg
2022-07-27Fix Linux build without fontconfig.bruvzg
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