summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2022-07-31Merge pull request #63656 from raulsntos/fix-signal-bind-csharpRémi Verschelde
2022-07-31Merge pull request #63661 from raulsntos/fix-editor-paths-includeRémi Verschelde
Add `editor_paths.h` include missing in mono module
2022-07-30Fix TranslatedLocal method in C# affecting the original transformAaron Franke
2022-07-30Add editor_paths.h include missing in mono moduleRaul Santos
2022-07-29Fix Callable calls in mono moduleRaul Santos
The `Callable::call` and `Callable::call_deferred` methods have been renamed to `Callable::callp` and `Callable::call_deferredp`.
2022-07-29Swap arguments of ResourceSaver.save()kobewi
2022-07-29Move editor paths into the EditorPaths classAaron Franke
2022-07-28Merge pull request #63049 from Faless/mp/4.x_as_moduleRémi Verschelde
2022-07-28Merge pull request #57698 from ↵Rémi Verschelde
bluenote10/feature/rename_translated_to_translated_local
2022-07-26[Net] Modularize multiplayer, expose MultiplayerAPI to extensions.Fabio Alessandrelli
- RPC configurations are now dictionaries. - Script.get_rpc_methods renamed to Script.get_rpc_config. - Node.rpc[_id] and Callable.rpc now return an Error. - Refactor MultiplayerAPI to allow extension. - New MultiplayerAPI.rpc method with Array argument (for scripts). - Move the default MultiplayerAPI implementation to a module.
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-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-22Rename directory for export templates from templates to export_templatesAaron Franke
2022-07-21Rename `epsilon` to `tolerance` in the `Plane::has_point` methodYuri Rubinsky
2022-07-21Rename OSX to macOS and iPhoneOS to iOS.bruvzg
2022-07-16rename translate(d) to translate(d)_local in Transform 2D/3DFabian Keller
2022-07-13Fix documentation for C# Vector2/3i classes.Lerg
The / operator was wrongly documented as a multiplication.
2022-07-07Merge pull request #62805 from raulsntos/csharp-rpcRémi Verschelde
2022-07-07Merge pull request #62789 from raulsntos/csharp-export-nodesRémi Verschelde
2022-07-07Merge pull request #62782 from raulsntos/csharp-bitfield-enumsRémi Verschelde
2022-07-07Merge pull request #62801 from raulsntos/ensure-nuget-path-existsRémi Verschelde
2022-07-07Allows parsing of invalid UTF-16 surrogates (can be encountered in Windows ↵bruvzg
filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose.
2022-07-07Merge pull request #62791 from raulsntos/csharp-bezier-interpolationRémi Verschelde
C#: Add `BezierInterpolate` method
2022-07-07C#: New `RPCAttribute`Raul Santos
Replace old RPC attributes with a new single `RPCAttribute` which works like the GDScript `@rpc` annotation.
2022-07-07Ensure NuGet.config directory existsRaul Santos
2022-07-06C#: Add `BezierInterpolate` methodRaul Santos
Adds a `BezierInterpolate` method for floats in `Mathf` and for vectors in `Vector2` and `Vector3`.
2022-07-06C#: Enable exporting nodes to the inspectorRaul Santos
2022-07-06Add C# support for bitfield enums (flags)Raul Santos
2022-07-06Merge pull request #62713 from YuriSizov/docs-scripting-annotationsRémi Verschelde
2022-07-05Implement a BitField hintreduz
Allows to specify the binder that an enum must be treated as a bitfield.
2022-07-04Add support for documenting built-in annotationsYuri Sizov
2022-07-01implement bone renamer in importerSilc Renew
2022-06-29Adding print_rich for printing with BBCodeVoylin
2022-06-24Merge pull request #59918 from ↵Rémi Verschelde
piiertho/enhancement/rename-controll-minimum_size-to-custom_minimum_size
2022-06-23enhancement: rename exposed property Control::minimum_size to ↵Pierre-Thomas Meisels
Control::custom_minimum_size
2022-06-23Mono: Update Newtonsoft.Json to 13.0.1Rémi Verschelde
See https://github.com/advisories/GHSA-5crp-9r3c-p9vr
2022-06-20Clean up Hash Functionsreduz
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better)
2022-06-17Merge pull request #61991 from bruvzg/property_shortcutRémi Verschelde
Make enum/constant binds 64-bit.
2022-06-17Merge pull request #62069 from iamjsk10/masterRémi Verschelde
Typo: Changed "forech" into "foreach" in string_utils.cpp
2022-06-17Make enum/constant binds 64-bit.bruvzg
2022-06-17Mono: Fix typo to `foreach` C# keywordiamjsk10
2022-06-16Fix EditorScenePostImport templates for C#Raul Santos
2022-06-16Fix Lerp documentation and implement RangeLerpPaul Joannon
2022-06-15Merge pull request #61486 from jtnicholl/import_script_templatesRémi Verschelde
Add script templates for EditorScenePostImport
2022-06-15Add script templates for EditorScenePostImportJonathan Nicholl
2022-06-11Added documentation comments to the .NET libraryJoshua Quinones
Comments have been added for the following: modules/mono/glue/GodotSharp/GodotSharp/Core/GodotTaskScheduler.cs modules/mono/glue/GodotSharp/GodotSharp/Core/GodotSynchronizationContext.cs modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/AssemblyHasScriptsAttribute.cs modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/DisableGodotGeneratorsAttribute.cs modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/ExportAttribute.cs modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/GodotMethodAttribute.cs modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/ScriptPathAttribute.cs
2022-06-03Merge pull request #57824 from raulsntos/csharp-typed-arraysRémi Verschelde
2022-06-03Support explicit values in flag properties, add C# flags supportRaul Santos
- Add support for explicit values in properties using `PROPERTY_HINT_FLAGS` that works the same way it does for enums. - Fix enums and flags in VisualScriptEditor (it wasn't considering the explicit value). - Use `PROPERTY_HINT_FLAGS` for C# enums with the FlagsAttribute instead of `PROPERTY_HINT_ENUM`.
2022-06-03Generate typed array parameters in C# bindingsRaul Santos
Adds support for generating C# bindings that use the generic `Array<T>` type instead of the non-generic `Array` type when the registered ClassDB method specifies the array element type.
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed