Rémi Verschelde
0ae65472e7
clang-format: Enable BreakBeforeTernaryOperators
...
clang-format keeps breaking the way it handles break *after* ternary operators,
so I give up and go with the only style they seem to actually test.
2021-10-28 15:57:41 +02:00
Rémi Verschelde
3b11e33a09
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 15:19:35 +02:00
Rémi Verschelde
6ccc3e4d87
Merge pull request #54130 from raulsntos/csharp-exports
...
Keep order for C# exported members
2021-10-24 21:17:58 +02:00
Aaron Franke
474d0f58f5
Add support for the RISC-V architecture
...
Supports RV64GC (RISC-V 64-bit with general-purpose and compressed-instruction extensions)
2021-10-22 12:51:10 -05:00
Rémi Verschelde
beb3875cdf
Merge pull request #53781 from m4gr3d/restrict_project_data_dir_config_master
2021-10-22 19:30:35 +02:00
Raul Santos
c6ecc04114
Keep order for C# exported members
2021-10-22 19:25:01 +02:00
Rémi Verschelde
b9a59f60c1
Mono: Fix build after #52940
...
Chose to pass unhandled exceptions to the toaster, we might want to reconsider
if those are already reported somewhere else (e.g. in the Mono panel).
2021-10-20 11:07:20 +02:00
Ignacio Roldán Etcheverry
cad05f012d
C#: Fix property set call boxing value when unboxed was expected
2021-10-19 00:33:51 +02:00
ne0fhyk
b5c750fa65
Restrict the project data directory configuration
2021-10-18 14:10:38 -07:00
Rémi Verschelde
76d90bb568
Merge pull request #53943 from raulsntos/fixup-53581
2021-10-18 10:38:41 +02:00
Raul Santos
bc47bacc9e
Fix marshaling generic Godot.Object in C#
2021-10-18 03:07:47 +02:00
Anutrix
a4b736658e
Remove unused imports in .py, SCsub and SConstruct files
2021-10-18 01:50:34 +05:30
Rémi Verschelde
d6aab5c1bf
SCons: Fix missing mono .gen.cpp
sources after #53860
2021-10-16 15:53:14 +02:00
Raul Santos
035e14c69d
Fix hint_string for C# enum arrays
2021-10-15 19:23:40 +02:00
Rémi Verschelde
f113dc9863
Merge pull request #53627 from raulsntos/fix-list-marshal
2021-10-15 17:35:45 +02:00
Rémi Verschelde
6fb06ec47e
Merge pull request #53581 from raulsntos/mono-marshal-generics
2021-10-15 17:35:21 +02:00
Raul Santos
ba4a88eaed
Fix C# List<T> marshalling
2021-10-10 11:40:07 +02:00
Raul Santos
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
Raul Santos
1f62d309d8
Support arrays of StringName, NodePath and RID in mono
2021-10-08 18:50:21 +02:00
Rémi Verschelde
862994a8ef
doc: Update links to latest documentation after content reorganization
2021-10-06 13:48:48 +02:00
Rémi Verschelde
a7ba227631
Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_master
2021-10-05 21:02:27 +02:00
Rémi Verschelde
b1c6826b9f
Merge pull request #52963 from Pineapple/WIN32_LEAN_AND_MEAN_master
2021-10-05 12:03:05 +02:00
kobewi
6397eaa27e
Fix some leftover references to idle_frame
2021-10-04 20:57:31 +02:00
Fabio Alessandrelli
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
Edward Auttonberry
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
Bartłomiej T. Listwon
425ed0ffe0
Add missing WIN32_LEAN_AND_MEAN
2021-09-23 10:35:00 +02:00
Rémi Verschelde
ba57252bd8
Merge pull request #52878 from AnilBK/add-get-center
2021-09-21 21:30:30 +02:00
Anilforextra
90908cd67d
Add Get Center Method for Rect2/Rect2i and AABB.
2021-09-21 21:14:17 +05:45
Aaron Franke
388732bc19
Fix some minor issues in C# XML doc comments
2021-09-18 11:38:22 -05:00
Rémi Verschelde
c77e1e2852
Merge pull request #52666 from magian1127/temp1
2021-09-18 15:02:02 +02:00
Magian
9932fbfb1e
C#, replace the current Xform method with a * operator.
2021-09-18 20:36:15 +08:00
Rémi Verschelde
ab544a20de
Merge pull request #51835 from magian1127/patch1
2021-09-17 12:25:56 +02:00
ne0fhyk
69f890ff11
Provide a getter for the project data directory.
2021-09-15 12:52:03 -07:00
Rémi Verschelde
de8d38014e
Merge pull request #52633 from lewiji/mono-build-solution-shortcut-4.0
2021-09-14 16:21:19 +02:00
Lewis James
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
Aaron Franke
3a902c66c4
Revert some URLs from the "Replace HTTP URLs with HTTPS" PR
2021-09-13 15:18:35 -05:00
Ignacio Roldán Etcheverry
875b5fbf17
Merge pull request #52607 from paulloz/improve-cs-method-listing
...
Improve C# method listing
2021-09-13 20:21:48 +02:00
Paul Joannon
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
Raul Santos
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
Ignacio Roldán Etcheverry
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
Max Hilbrunner
75be697817
Merge pull request #52246 from Paulb23/verbatim-string
...
Syntax highlight c# verbatim string literal
2021-09-08 14:48:22 +02:00
Raul Santos
c6b1c8093f
Fix properties arrays in C# bindings generator
2021-09-08 12:52:39 +02:00
Max Hilbrunner
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
Fabio Alessandrelli
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
Raul Santos
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
Raul Santos
415529400b
Fix constant tag documentation in C# bindings generator
2021-09-03 18:54:40 +02:00
Raul Santos
5508d4606b
Fix PackedInt64Array typo in bindings_generator.h
2021-09-03 18:54:40 +02:00
Aaron Franke
1933df0013
Some more C# formatting
2021-09-02 15:12:15 -05:00
George Marques
25ae279317
Merge pull request #52270 from KoBeWi/goodbye_polar
...
Remove cartesian2polar and polar2cartesian
2021-09-01 09:33:13 -03:00
George Marques
cf59028972
Merge pull request #48237 from KoBeWi/they_came_from_angle
...
Add Vector2.from_angle() method
2021-09-01 09:32:42 -03:00