summaryrefslogtreecommitdiffstats
path: root/modules/mono
Commit message (Collapse)AuthorAgeFilesLines
* Fix documentation for C# Vector2/3i classes.Lerg2022-07-132-2/+2
| | | | The / operator was wrongly documented as a multiplication.
* Merge pull request #62805 from raulsntos/csharp-rpcRémi Verschelde2022-07-077-41/+76
|\
| * C#: New `RPCAttribute`Raul Santos2022-07-077-41/+76
| | | | | | | | | | Replace old RPC attributes with a new single `RPCAttribute` which works like the GDScript `@rpc` annotation.
* | Merge pull request #62789 from raulsntos/csharp-export-nodesRémi Verschelde2022-07-071-0/+6
|\ \
| * | C#: Enable exporting nodes to the inspectorRaul Santos2022-07-061-0/+6
| |/
* | Merge pull request #62782 from raulsntos/csharp-bitfield-enumsRémi Verschelde2022-07-072-0/+11
|\ \
| * | Add C# support for bitfield enums (flags)Raul Santos2022-07-062-0/+11
| |/
* | Merge pull request #62801 from raulsntos/ensure-nuget-path-existsRémi Verschelde2022-07-071-1/+2
|\ \
| * | Ensure NuGet.config directory existsRaul Santos2022-07-071-1/+2
| |/
* | Allows parsing of invalid UTF-16 surrogates (can be encountered in Windows ↵bruvzg2022-07-073-7/+9
| | | | | | | | filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose.
* | Merge pull request #62791 from raulsntos/csharp-bezier-interpolationRémi Verschelde2022-07-073-6/+72
|\ \ | | | | | | C#: Add `BezierInterpolate` method
| * | C#: Add `BezierInterpolate` methodRaul Santos2022-07-063-6/+72
| |/ | | | | | | | | Adds a `BezierInterpolate` method for floats in `Mathf` and for vectors in `Vector2` and `Vector3`.
* | Merge pull request #62713 from YuriSizov/docs-scripting-annotationsRémi Verschelde2022-07-061-0/+1
|\ \ | |/ |/|
| * Add support for documenting built-in annotationsYuri Sizov2022-07-041-0/+1
| |
* | Implement a BitField hintreduz2022-07-051-6/+6
|/ | | | Allows to specify the binder that an enum must be treated as a bitfield.
* implement bone renamer in importerSilc Renew2022-07-012-0/+23
|
* Adding print_rich for printing with BBCodeVoylin2022-06-292-0/+46
|
* Merge pull request #59918 from ↵Rémi Verschelde2022-06-241-1/+1
|\ | | | | | | piiertho/enhancement/rename-controll-minimum_size-to-custom_minimum_size
| * enhancement: rename exposed property Control::minimum_size to ↵Pierre-Thomas Meisels2022-06-231-1/+1
| | | | | | | | Control::custom_minimum_size
* | Mono: Update Newtonsoft.Json to 13.0.1Rémi Verschelde2022-06-233-3/+3
|/ | | | See https://github.com/advisories/GHSA-5crp-9r3c-p9vr
* Clean up Hash Functionsreduz2022-06-202-4/+3
| | | | | | | 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)
* Merge pull request #61991 from bruvzg/property_shortcutRémi Verschelde2022-06-173-8/+10
|\ | | | | Make enum/constant binds 64-bit.
| * Make enum/constant binds 64-bit.bruvzg2022-06-173-8/+10
| |
* | Merge pull request #62069 from iamjsk10/masterRémi Verschelde2022-06-171-1/+1
|\ \ | |/ |/| Typo: Changed "forech" into "foreach" in string_utils.cpp
| * Mono: Fix typo to `foreach` C# keywordiamjsk102022-06-171-1/+1
| |
* | Fix EditorScenePostImport templates for C#Raul Santos2022-06-162-7/+5
| |
* | Fix Lerp documentation and implement RangeLerpPaul Joannon2022-06-161-3/+22
| |
* | Merge pull request #61486 from jtnicholl/import_script_templatesRémi Verschelde2022-06-152-0/+33
|\ \ | |/ |/| Add script templates for EditorScenePostImport
| * Add script templates for EditorScenePostImportJonathan Nicholl2022-06-152-0/+33
| |
* | Added documentation comments to the .NET libraryJoshua Quinones2022-06-1112-0/+89
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #57824 from raulsntos/csharp-typed-arraysRémi Verschelde2022-06-032-10/+69
|\ \
| * | Generate typed array parameters in C# bindingsRaul Santos2022-06-032-10/+69
| |/ | | | | | | | | | | 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.
* / Support explicit values in flag properties, add C# flags supportRaul Santos2022-06-036-2/+21
|/ | | | | | | | | - 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`.
* Add a new HashSet templatereduz2022-05-202-15/+15
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-1612-82/+82
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Merge pull request #60956 from macjuul/hide-mono-cmd-promptRémi Verschelde2022-05-122-1/+3
|\ | | | | Prevent blank command prompts from spawning when building a mono project
| * Fix blank command prompts spawningJulian Mills2022-05-122-1/+3
| | | | | | | | prevent certain mono actions from displaying empty command prompts.
* | Add a new HashMap implementationreduz2022-05-128-84/+61
|/ | | | | | | | | | | | | | | | | Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
* [macOS / iOS] Fix text-to-speech build with older macOS / iOS SDK.bruvzg2022-05-101-2/+2
| | | | | | Add __has_include check for AVFAudio include. Add some explicit casts to avoid conflicts. Change all `include`s to `import`s for consistency.
* Changed signals of ItemListVitika92022-05-061-2/+7
|
* Core: Rename math 'phi' arguments to 'angle'Rémi Verschelde2022-05-055-12/+12
|
* Merge pull request #60723 from reduz/refactor-module-initializationRémi Verschelde2022-05-042-4/+14
|\
| * Refactor module initializationreduz2022-05-042-4/+14
| | | | | | | | | | | | | | * Changed to use the same stages as extensions. * Makes the initialization more coherent, helping solve problems due to lack of stages. * Makes it easier to port between module and extension. * removed the DRIVER initialization level (no longer needed).
* | Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde2022-05-032-7/+7
|\ \ | | | | | | Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
| * | Rename Basis "elements" to "rows"Aaron Franke2022-04-291-3/+3
| | |
| * | Rename Transform2D "elements" to "columns"Aaron Franke2022-04-292-4/+4
| |/
* / Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-033-13/+13
|/ | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Narrow FileAccess scope to prevent deadlocks.bruvzg2022-04-122-12/+12
|
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-119-39/+24
|
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-0412-103/+103
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.