d6aab5c1bf
SCons: Fix missing mono .gen.cpp sources after #53860
2021-10-16 15:53:14 +02:00
035e14c69d
Fix hint_string for C# enum arrays
2021-10-15 19:23:40 +02:00
f113dc9863
Merge pull request #53627 from raulsntos/fix-list-marshal
2021-10-15 17:35:45 +02:00
6fb06ec47e
Merge pull request #53581 from raulsntos/mono-marshal-generics
2021-10-15 17:35:21 +02:00
ba4a88eaed
Fix C# List<T> marshalling
2021-10-10 11:40:07 +02:00
0be9664b42
Support marshaling generic Godot.Object
...
Allows using generic C# types in signals as long as they inherit
from `Godot.Object`.
2021-10-08 20:00:47 +02:00
1f62d309d8
Support arrays of StringName, NodePath and RID in mono
2021-10-08 18:50:21 +02:00
862994a8ef
doc: Update links to latest documentation after content reorganization
2021-10-06 13:48:48 +02:00
a7ba227631
Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_master
2021-10-05 21:02:27 +02:00
b1c6826b9f
Merge pull request #52963 from Pineapple/WIN32_LEAN_AND_MEAN_master
2021-10-05 12:03:05 +02:00
6397eaa27e
Fix some leftover references to idle_frame
2021-10-04 20:57:31 +02:00
24a949ea11
[Net] Rename RPC constants and annotation arguments.
...
any -> any_peer
sync -> call_local
ordered -> unreliable_ordered
Multiplayer.RPC_MODE_ANY -> RPC_MODE_ANY_PEER
Multiplayer.TRANSFER_MODE_ORDERED -> TRANSFER_MODE_UNRELIABLE_ORDERED
2021-10-01 18:14:38 +02:00
c86ab40389
Update C# RPC attributes to share new Any/Auth naming convention
...
Update attribute class references in mono cache
2021-09-28 17:43:40 -04:00
425ed0ffe0
Add missing WIN32_LEAN_AND_MEAN
2021-09-23 10:35:00 +02:00
ba57252bd8
Merge pull request #52878 from AnilBK/add-get-center
2021-09-21 21:30:30 +02:00
90908cd67d
Add Get Center Method for Rect2/Rect2i and AABB.
2021-09-21 21:14:17 +05:45
388732bc19
Fix some minor issues in C# XML doc comments
2021-09-18 11:38:22 -05:00
c77e1e2852
Merge pull request #52666 from magian1127/temp1
2021-09-18 15:02:02 +02:00
9932fbfb1e
C#, replace the current Xform method with a * operator.
2021-09-18 20:36:15 +08:00
ab544a20de
Merge pull request #51835 from magian1127/patch1
2021-09-17 12:25:56 +02:00
69f890ff11
Provide a getter for the project data directory.
2021-09-15 12:52:03 -07:00
de8d38014e
Merge pull request #52633 from lewiji/mono-build-solution-shortcut-4.0
2021-09-14 16:21:19 +02:00
913aa270c0
Add editor keyboard shortcut for Mono Build solution button
...
Apply suggestions from code review
Merging @akien-mga's suggestion with the matching change to the CS project
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2021-09-14 13:13:00 +01:00
3a902c66c4
Revert some URLs from the "Replace HTTP URLs with HTTPS" PR
2021-09-13 15:18:35 -05:00
875b5fbf17
Merge pull request #52607 from paulloz/improve-cs-method-listing
...
Improve C# method listing
2021-09-13 20:21:48 +02:00
19f25b6847
Improve C# method listing
...
- implement CSharpInstance::get_method_list
- loop through parent classes in CSharpInstance::get_method_list and CSharpScript::get_script_method_list (#46408 )
2021-09-12 19:54:54 +02:00
2962a440ea
Fix autoloads iteration
...
Removes the range iterator usage in the autoloads map since `OrderedHashMap`
does not implement range iterators.
2021-09-12 13:22:18 +02:00
6679be45aa
Merge pull request #52492 from raulsntos/fix-csharp-array-properties
...
Fix properties arrays in C# bindings generator
2021-09-09 20:38:58 +02:00
75be697817
Merge pull request #52246 from Paulb23/verbatim-string
...
Syntax highlight c# verbatim string literal
2021-09-08 14:48:22 +02:00
c6b1c8093f
Fix properties arrays in C# bindings generator
2021-09-08 12:52:39 +02:00
9ada29e918
Merge pull request #52289 from Calinou/remove-old-msvc-support-ifdef
...
Remove `#ifdefs` for handling compilation with Visual Studio < 2015
2021-09-07 21:01:44 +02:00
bf9aae09ba
[Net] Move multiplayer to core subdir, split RPCManager.
...
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-07 11:14:30 +02:00
48c66b80ad
Add documentation to GodotSharp
...
- Adds documentation to almost every class and member in `GodotSharp`
- Fixes some old documentation to more closely follow the XML comments convention
2021-09-03 19:03:31 +02:00
415529400b
Fix constant tag documentation in C# bindings generator
2021-09-03 18:54:40 +02:00
5508d4606b
Fix PackedInt64Array typo in bindings_generator.h
2021-09-03 18:54:40 +02:00
1933df0013
Some more C# formatting
2021-09-02 15:12:15 -05:00
25ae279317
Merge pull request #52270 from KoBeWi/goodbye_polar
...
Remove cartesian2polar and polar2cartesian
2021-09-01 09:33:13 -03:00
cf59028972
Merge pull request #48237 from KoBeWi/they_came_from_angle
...
Add Vector2.from_angle() method
2021-09-01 09:32:42 -03:00
fc0bfbb33b
Remove #ifdefs for handling compilation with Visual Studio < 2015
...
Godot 3.3 and later require Visual Studio 2017 to be compiled.
2021-08-31 20:04:17 +02:00
3f3739ccb5
Add Vector2.from_angle() method
2021-08-31 01:53:58 +02:00
bcd73fc00a
Merge pull request #52240 from Rubonnek/rename-rel-path
...
Rename `String::is_rel_path` to `String::is_relative_path`
2021-08-30 20:45:45 -03:00
017c94222e
Remove cartesian2polar and polar2cartesian
2021-08-31 01:41:41 +02:00
cf36fb405c
syntax highlight c# verbatim string literal
2021-08-30 11:38:03 +01:00
d11c1afc04
Rename String::is_rel_path to String::is_relative_path
2021-08-29 20:41:29 -04:00
64b9f30b92
[Net] Rename RPC "puppet" to "auth" (authority). Drop "master".
...
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-30 00:54:38 +02:00
31f790299c
Use OrderedHashMap for autoloads to preserve order
2021-08-26 21:55:26 -07:00
ee4a8e6a85
Merge pull request #52087 from raulsntos/expose-simplify-path
...
Expose `String.SimplifyPath` in C#
2021-08-25 18:37:08 +02:00
126b1ea149
Expose String.SimplifyPath in C#
2021-08-25 16:51:14 +02:00
4e6e6bcd2f
Rename String.IsAbsPath() to String.IsAbsolutePath()
2021-08-25 03:02:55 +02:00
e95fa21b45
Merge pull request #47295 from omegachysis/script-bind-mutex
...
Fix race condition on `script_binding` in C#
2021-08-24 06:09:43 +02:00