summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2021-09-13Merge pull request #52607 from paulloz/improve-cs-method-listingIgnacio Roldán Etcheverry
Improve C# method listing
2021-09-12Improve C# method listingPaul Joannon
- implement CSharpInstance::get_method_list - loop through parent classes in CSharpInstance::get_method_list and CSharpScript::get_script_method_list (#46408)
2021-09-12Fix autoloads iterationRaul Santos
Removes the range iterator usage in the autoloads map since `OrderedHashMap` does not implement range iterators.
2021-09-09Merge pull request #52492 from raulsntos/fix-csharp-array-propertiesIgnacio Roldán Etcheverry
Fix properties arrays in C# bindings generator
2021-09-08Merge pull request #52246 from Paulb23/verbatim-stringMax Hilbrunner
Syntax highlight c# verbatim string literal
2021-09-08Fix properties arrays in C# bindings generatorRaul Santos
2021-09-07Merge pull request #52289 from Calinou/remove-old-msvc-support-ifdefMax Hilbrunner
Remove `#ifdefs` for handling compilation with Visual Studio < 2015
2021-09-07[Net] Move multiplayer to core subdir, split RPCManager.Fabio Alessandrelli
Move multiplayer classes to "core/multiplayer" subdir. Move the RPCConfig and enums (TransferMode, RPCMode) to a separate file (multiplayer.h), and bind them to the global namespace. Move the RPC handling code to its own class (RPCManager). Renames "get_rpc_sender_id" to "get_remote_sender_id".
2021-09-03Add documentation to GodotSharpRaul Santos
- Adds documentation to almost every class and member in `GodotSharp` - Fixes some old documentation to more closely follow the XML comments convention
2021-09-03Fix constant tag documentation in C# bindings generatorRaul Santos
2021-09-03Fix PackedInt64Array typo in bindings_generator.hRaul Santos
2021-09-02Some more C# formattingAaron Franke
2021-09-01Merge pull request #52270 from KoBeWi/goodbye_polarGeorge Marques
Remove cartesian2polar and polar2cartesian
2021-09-01Merge pull request #48237 from KoBeWi/they_came_from_angleGeorge Marques
Add Vector2.from_angle() method
2021-08-31Remove `#ifdefs` for handling compilation with Visual Studio < 2015Hugo Locurcio
Godot 3.3 and later require Visual Studio 2017 to be compiled.
2021-08-31Add Vector2.from_angle() methodkobewi
2021-08-30Merge pull request #52240 from Rubonnek/rename-rel-pathJuan Linietsky
Rename `String::is_rel_path` to `String::is_relative_path`
2021-08-31Remove cartesian2polar and polar2cartesiankobewi
2021-08-30syntax highlight c# verbatim string literalPaulb23
2021-08-29Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez
2021-08-30[Net] Rename RPC "puppet" to "auth" (authority). Drop "master".Fabio Alessandrelli
This commit completely removes the RPC_MODE_MASTER ("master" keyword), and renames the RPC_MODE_PUPPET to RPC_MODE_AUTHORITY ("auth" keyword). This commit also renames the "Node.[get|set]_network_master" methods to "Node.[get|set]_network_authority". This commit also renames the RPC_MODE_REMOTE constant to RPC_MODE_ANY. RPC_MODE_MASTER in Godot 3.x meant that a given RPC would be callable by any puppet peer on the master, while RPC_MODE_PUPPET meant that it would be callable by the master on any puppet. Beside proving to be very confusing to the user (referring to where it could be called instead of who can call it) the RPC_MODE_MASTER is quite useless. It is almost the same as RPC_MODE_REMOTE (anyone can call) with the exception that the network master cannot. While this could be useful to check in some case, in such a function you would anyway need to check in code who is the caller via get_rpc_sender_id(), so adding the check there for those rare cases does not warrants a dedicated mode.
2021-08-26Use OrderedHashMap for autoloads to preserve orderLyuma
2021-08-25Merge pull request #52087 from raulsntos/expose-simplify-pathMax Hilbrunner
Expose `String.SimplifyPath` in C#
2021-08-25Expose `String.SimplifyPath` in C#Raul Santos
2021-08-25Rename `String.IsAbsPath()` to `String.IsAbsolutePath()`Raul Santos
2021-08-24Merge pull request #47295 from omegachysis/script-bind-mutexIgnacio Roldán Etcheverry
Fix race condition on `script_binding` in C#
2021-08-20Rename C# string extensions to follow GDScriptRaul Santos
Follow up to d9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6. Renames `String.Extension` -> `String.GetExtension()` and `String.BaseName()` -> `String.GetBaseName()`. This makes those methods more consistent with GDScript and with the `GetBaseDir` method.
2021-08-20C#: Fix bindings generator for Callable argument default valueIgnacio Roldán Etcheverry
Previously there weren't any Callable arguments with a default value, but d4dd859991205e6cecfa9a0553b89db47c983d0b introduced one.
2021-08-17Namespaces instead of underscore prefix for bindsMax Hilbrunner
Thanks to neikeq for the initial work. Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2021-08-16Merge pull request #51698 from Paulb23/text-editor-settingsRémi Verschelde
Reorganise text editor settings
2021-08-16Reorganise text editor settingsPaulb23
2021-08-16Fix C# native instance bindings after recent re-writeIgnacio Roldán Etcheverry
This was needed after: 44691448911f1d29d4d79dbdd5553734761e57c4
2021-08-12Use real_t and double where appropriate in ParticlesAaron Franke
2021-08-06Ensure MSBuildPanel buttons are instantiatedRaul Santos
2021-08-06Merge pull request #51008 from raulsntos/csharp-renamesRémi Verschelde
2021-08-05Reduce C# Dictionary internal callsRaul Santos
- Implements new `KeyValuePairs` and `KeyValuePairAt` internal calls to get the `key` and the `value` in one call. - Caches the `DictionaryEntry` to reuse properties without repeating internal calls.
2021-08-05Add documentation to Dictionary in C#Raul Santos
Adds documentation to `Godot.Collections.Dictionary` in C#.
2021-08-05Rename RotationQuaternion to be more similar to get_rotation_quaternionRaul Santos
Renames `RotationQuaternion` to be more consistent with `get_rotation_quaternion`
2021-08-05Rename RandSeed to RandFromSeed and use ref paramRaul Santos
Renames `RandSeed` method to be more consistent with `Math::rand_from_seed`
2021-08-03Fix 'script_class' null access when reloading a deleted C# script31
2021-08-03Simplify C# print methodsRaul Santos
- Extracts the parameters logic to a single method - Simplify the handling of null parameters
2021-08-03Fix the editor theme application for the Mono build logYuri Sizov
2021-07-30Remove obsolete "dectime" methodAaron Franke
Replaced by "move_toward"
2021-07-29Merge pull request #51009 from raulsntos/fix-csharp-splitRémi Verschelde
Use `allowEmpty` parameter in Split
2021-07-29Use C# interpolated stringsRaul Santos
Uses interpolated strings wherever possible. String concatenations are still left where used for breaking long lines.
2021-07-29Use `allowEmpty` parameter in SplitRaul Santos
2021-07-27Merge pull request #50917 from raulsntos/more-iteratorsRémi Verschelde
2021-07-27Ignore paths with invalid chars in PathWhichRaul Santos
2021-07-27Use C++ iterators in the Mono moduleRaul Santos
2021-07-26Use Ref<T> references as iterators where relevantRémi Verschelde
And const when possible.