summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2022-09-23SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` definesRémi Verschelde
- `_DEBUG` is MSVC specific so it didn't make much sense to define for Android and iOS builds. - iOS was the only platform to define `DEBUG`. We don't use it anywhere outside thirdparty code, which we usually don't intend to debug, so it seems better to be consistent with other platforms. - Consistently define `NDEBUG` to disable assert behavior in both `release` and `release_debug` targets. This used to be set for `release` for all platforms, and `release_debug` for Android and iOS only. - Due to the above, I removed the only use we made of `assert()` in Godot code, which was only implemented for Unix anyway, should have been `DEV_ENABLED`, and is in PoolAllocator which we don't actually use. - The denoise and recast modules keep defining `NDEBUG` even for the `debug` target as we don't want OIDN and Embree asserting all over the place.
2022-09-22[GDExtension] Implement support for typed arrays.bruvzg
2022-09-22Merge pull request #66253 from raulsntos/dotnet/assembly-may-be-nullIgnacio Roldán Etcheverry
C#: Guard against null assemblies
2022-09-22C#: Suppress EventHandler suffix diagnostic for signalsRaul Santos
Suppress CA1711 for signal delegates because they are used in events so the naming follows the guidelines.
2022-09-22C#: Guard against null assembliesRaul Santos
A symbol's containing assembly will be null if the symbol is shared across multiple assemblies.
2022-09-22Merge pull request #66110 from Zylann/reference_get_countRémi Verschelde
get_reference_count()`
2022-09-21Rename and expose `RefCounted::get_reference_count()`Marc Gilleron
2022-09-21Merge pull request #65914 from bruvzg/fix_trim_wo_spaceRémi Verschelde
Fix line trim/ellipsis when line do not have space or newline at the end.
2022-09-21Merge pull request #62429 from smix8/navigation_path_query_4.xRémi Verschelde
Add NavigationPathQuery objects and NavigationServer query_path()
2022-09-21Style: Ensure consistent formatting with clang-format 15Rémi Verschelde
When going from version 14 to 15 it would introduce a tiny change in `websocket_macros.h` just before the comment re-enabling clang-format, but this can be solved by just letting it do its work. Bonus cosmetic change in `math_fieldwise.cpp` where clang-format isn't used, and bump recommended versions for pre-commit hook to [13; 15].
2022-09-20Add NavigationPathQuerysmix8
Adds NavigationPathQueryParameters objects that can be used with NavigationServer.query_path() to query a customized navigation path.
2022-09-20Merge pull request #63594 from Faless/img/4.x_loader_extRémi Verschelde
[Core] Make ImageFormatLoader extensible.
2022-09-20Merge pull request #64514 from dsnopek/webxr-master-fixup-squashedRémi Verschelde
Get WebXR minimally working again in Godot 4
2022-09-19Get WebXR minimally working again in Godot 4David Snopek
2022-09-19Add a way to get the GLTF extensions supported by GLTFDocumentExtensionAaron Franke
2022-09-19Make used extensions stored in GLTFStateAaron Franke
This allows GLTFDocumentExtension classes to add to the used extensions array.
2022-09-20[Core] Make ImageFormatLoader extensible.Fabio Alessandrelli
2022-09-19Merge pull request #66119 from raulsntos/dotnet/str-path-joinIgnacio Roldán Etcheverry
C#: Rename `PlusFile` to `PathJoin`
2022-09-19Merge pull request #66112 from Zylann/get_configuration_warnings_psaRémi Verschelde
Change return type of `get_configuration_warnings` to `PackedStringArray`
2022-09-19C#: Rename `PlusFile` to `PathJoin`Raul Santos
2022-09-19Change return type of `get_configuration_warnings` to `PackedStringArray`Marc Gilleron
2022-09-19Replace File/Directory with FileAccess/DirAccesskobewi
2022-09-19Merge pull request #66087 from aaronfranke/gltf-minor-lightRémi Verschelde
Minor enhancements to the GLTF module (lights and docs)
2022-09-19Merge pull request #65879 from magian1127/4.0GenSDocRémi Verschelde
inheritdoc the "///" comment from EventHandler to the generated event
2022-09-18Minor enhancements to the GLTF module (lights and docs)Aaron Franke
2022-09-18C#: inheritdoc the "///" comment from EventHandler to the generated eventMagian
2022-09-18Merge pull request #44143 from KoBeWi/callable_multiplayerRémi Verschelde
2022-09-18Port remaining connections to callable_mpTomasz Chabora
2022-09-18Merge pull request #62411 from willnationsdev/gdres-gdscriptRémi Verschelde
Add GDScript resource export.
2022-09-18Merge pull request #65979 from iwoithe/fix-onready-typoRémi Verschelde
change "no" to "not" in the @onready documentation
2022-09-18Fix crash when executing `FontFile.get_face_count`Haoyu Qiu
2022-09-18Merge pull request #65946 from antonWetzel/csharp-nd-arrayRémi Verschelde
Don't marshal multidimensional arrays
2022-09-18Merge pull request #65945 from Faless/mp/4.x_nodes_warningsRémi Verschelde
[MP] Add warnings to spawner and synchronizer.
2022-09-18Merge pull request #65877 from raulsntos/dotnet/signal-delegate-docsRémi Verschelde
Add documentation to signal delegates
2022-09-17Add GDScript resource export.willnationsdev
2022-09-17Spelling correction: change "no" to "not"I Woithe
2022-09-17don't marshal multidimensional arraysantonWetzel
2022-09-17[MP] Add warnings to spawner and synchronizer.Fabio Alessandrelli
MultiplayerSpawner: - When spawn_path is invalid. - When the auto spawn list is empty and _spawn_custom is not overridden. Note: We remove the warning for placeholder scripts since there's no way of knowing if they have a certain method. MultiplayerSynchronizer: - When root_path is invalid.
2022-09-16Fix line trim/ellipsis when line do not have space or newline at the end.bruvzg
2022-09-16Merge pull request #65892 from konczg/fix_openxr_layer_composition_blendingRémi Verschelde
Fix OpenXR layer composition blending
2022-09-16Fix OpenXR layer composition blendingGabor Koncz
2022-09-16Make `push_nupkgs_local` absoluteRaul Santos
Ensures the `push_nupkgs_local` argument in build_assemblies.py is an absolute path so the argument can be given as a relative path and it will be converted.
2022-09-16C#: Add documentation to signal delegatesRaul Santos
2022-09-15Merge pull request #65152 from s77rt/fix-56343Rémi Verschelde
Fix GDScript preload fails in standalone build unless files are present in directory
2022-09-15Merge pull request #65823 from raulsntos/dotnet/signal-docsIgnacio Roldán Etcheverry
C#: Move signal documentation to the event
2022-09-15Fix GDScript `preload` fails in standalone build unless files are present in ↵Abdelhafidh Belalia
directory Fixes #56343.
2022-09-15C#: Move signal documentation to the eventRaul Santos
Move signal documentation from the delegate to the event and also deprecate the event if the signal is deprecated.
2022-09-15Fix NuGet fallback folder packagesRaul Santos
- Creates a `Godot.Offline.Config` file to configurate NuGet with Godot's fallback folder. This is easier because now we can assume we can override the entire file since user config will likely be in the default `NuGet.Config` file or an additional `*.config` file. - Ensure the NuGet fallback folder is created at the same time it is added to the NuGet configuration so future builds don't fail. - Add `GodotSharp` and `GodotSharpEditor` packages to the fallback folder. - Add `.nupkg.metadata` file to packages in fallback folder. - Refer to `Godot.SourceGenerators` using the specific non-floating version since floating versions don't seem to work with fallbackPackageFolders.
2022-09-14Merge pull request #65788 from bruvzg/macos_fix_dotnet_detectionRémi Verschelde
[macOS, .NET] Fix dotnet binary detection.
2022-09-14Merge pull request #65775 from smix8/navigation_baking_disabled_shapes_4.xRémi Verschelde
Exclude disabled StaticBody CollisionShapes from Navigationmesh baking