Rémi Verschelde
cfc4a0eff0
Bump version to 3.6-rc
2024-07-02 13:06:42 +02:00
kleonc
1db5090dcd
[C#] Fix Transform3D.InterpolateWith
applying rotation before scale
...
(cherry picked from commit e2ed63b313
)
2024-05-01 12:05:40 +02:00
A Thousand Ships
ee4396809c
[C#] Fix Encloses
failing on shared upper bound for AABB
and Rect2
2024-01-16 20:19:43 +01:00
Andy Savage
05624ddbc8
Fix incorrect Rect2
size when Transform2D
*
operator.
2023-12-23 02:39:07 +00:00
Rémi Verschelde
1426cd3b3a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
Backported from #70885 .
2023-01-10 15:26:54 +01:00
Raul Santos
7106905a5b
C#: Deprecate string extensions that will be removed in 4.x
...
- Deprecated `Length` in favor of the `string.Length` property.
- Deprecated `Insert` in favor of the existing instance method with the same signature.
- Deprecated `Erase` in favor of `StringBuilder.Remove`.
- Deprecated `ToLower` and `ToUpper` in favor of the instance methods with the same signature.
- Deprecated `BeginsWith` in favor of `string.StartsWith`.
- Deprecated `EndsWith` in favor of the instance method with the same signature.
- Deprecated `Empty` in favor of `string.IsNullOrEmpty`.
- Deprecated `OrdAt` in favor of the `string[int]` indexer.
- Deprecated `LStrip` and `RStrip` in favor of `string.TrimStart` and `string.TrimEnd`.
2022-11-28 18:23:00 +01:00
dzil123
bdcb1ff228
[3.x] Fix c# Array.Shuffle incorrect mono bindings
2022-11-04 06:22:47 -07:00
Aaron Franke
fdce2a1dfc
[3.x] C#: Add Basis Euler angle code to match 4.x core
2022-09-30 17:20:36 -05:00
Raul Santos
c9734b6ceb
Document C# RPC attributes
2022-08-06 20:55:14 +02:00
Rémi Verschelde
1b7037807f
Merge pull request #59328 from raulsntos/csharp-flag-enums-3.x
2022-08-05 19:37:29 +02:00
Raul Santos
3ec6644096
C#: Remove unused Transform2D.ScaleBasis
method
...
(cherry picked from commit a4ad1dfa51
)
2022-08-03 15:01:02 +02:00
Raul Santos
ef9e2c8ca8
Rename math 'phi' arguments to 'angle' in C#
...
(cherry picked from commit d0e586fc7e
)
2022-08-01 10:38:58 +02:00
Aaron Franke
4d6c609e50
[3.x] Fix Translated method in C# affecting the original transform
2022-07-30 11:54:19 -05:00
Rémi Verschelde
818f1eed31
Code quality: Fix header guards consistency
...
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 14:53:37 +02:00
Rémi Verschelde
06f4a28306
Update docs links still pointing to 3.4
2022-06-29 12:03:04 +02:00
Paul Joannon
c43b8ccaaf
Fix Lerp documentation and implement RangeLerp
...
(cherry picked from commit ee95a1cb28
)
2022-06-16 20:47:40 +02:00
Rémi Verschelde
9e37599f36
Core: Rename math 'phi' arguments to 'angle'
...
(cherry picked from commit e7a58a7eb6
)
2022-05-05 15:02:46 +02:00
Igor Kordiukiewicz
6bf7e8e010
String.Capitalize() in C# now matches the behaviour of String::capitalize() in C++
...
(cherry picked from commit 6c3b6664b5
)
2022-04-13 11:43:49 +02:00
Raul Santos
862691a9f7
Support explicit values in flag properties, add C# flags support
...
- 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-03-19 19:22:54 +01:00
Raul Santos
d4790455ba
Fix marshaling values of generic Godot Dictionary
...
(cherry picked from commit e4c40efeab
)
2022-01-19 14:04:22 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Rémi Verschelde
b197de6f5f
Fix typos with codespell
...
Using codespell 2.1.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2022-01-07 00:14:54 +01:00
Raul Santos
172f66a40e
Fix KeyValuePairAt
memory leak
...
(cherry picked from commit 1fdfc379b6
)
2022-01-06 00:21:36 +01:00
Raul Santos
ffbd59572e
Various fixes to C# documentation
...
(cherry picked from commit 2deabd553f
)
2021-12-08 11:28:12 +01:00
Raul Santos
613751a742
Fix get_all_delegates method for generic classes
...
If the class is generic, we must get its generic type definition and use
it to retrieve the delegates.
2021-12-04 01:51:50 +01:00
Rémi Verschelde
c9208704de
Merge pull request #54614 from aaronfranke/3.x-math-api
2021-11-29 12:57:25 +01:00
Aaron Franke
1d8cef8236
[3.x] Backport some APIs in math structs
2021-11-27 01:19:45 -06:00
Aaron Franke
5ec0a8df5e
[3.x] Add documentation to operators for math types
2021-11-27 01:15:43 -06:00
Marcel Admiraal
4d3690eba5
Remove unimplemented methods
2021-11-18 12:47:36 +00:00
Aaron Franke
a5543bc35e
[3.x] Warn when using the dectime method
...
dectime has been removed in the master branch (what will be Godot 4.0)
2021-09-21 10:03:42 -05:00
Aaron Franke
298e29c772
[3.x] Some more C# formatting and style fixes
2021-09-18 12:11:03 -05:00
Rémi Verschelde
bb2772d2f2
Merge pull request #52762 from magian1127/3.xTemp1
2021-09-18 14:51:07 +02:00
Magian
0263a87c8b
C#, replace the current Xform method with a * operator.
2021-09-18 20:40:08 +08:00
Rémi Verschelde
316b5dad2d
Merge pull request #52390 from raulsntos/csharp-docs-3.x
...
[3.x] Add documentation to GodotSharp
2021-09-18 01:00:03 +02:00
Raul Santos
6a7ca43297
Expose String.SimplifyPath
in C#
...
(cherry picked from commit 126b1ea149
)
2021-09-14 13:41:26 +02:00
Raul Santos
cacf3e28fd
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-04 20:15:53 +02:00
Rémi Verschelde
f0b37b1519
doc: Point URLs to 3.4 version of the online docs
2021-08-12 17:08:10 +02:00
Rémi Verschelde
70784f983b
Mono: Remove diagnostics incompatible with 3.x codebase
2021-08-06 12:59:17 +02:00
Raul Santos
332e31260e
Reduce C# Dictionary internal calls
...
- 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.
(cherry picked from commit 2deefd938f
)
2021-08-06 11:10:04 +02:00
Raul Santos
ca32c18458
Add documentation to Dictionary in C#
...
Adds documentation to `Godot.Collections.Dictionary` in C#.
(cherry picked from commit 0669ffcd15
)
2021-08-06 11:09:56 +02:00
Raul Santos
5c206c38f9
Simplify C# print methods
...
- Extracts the parameters logic to a single method
- Simplify the handling of null parameters
(cherry picked from commit ad460cde79
)
2021-08-05 16:35:55 +02:00
Raul Santos
ecb973ab02
Use allowEmpty
parameter in Split
...
(cherry picked from commit b7a66a820b
)
2021-08-03 09:15:33 +02:00
Aaron Franke
1180256090
Add documentation to Array in C#
...
(cherry picked from commit 080f44a3b7
)
2021-07-26 13:35:52 +02:00
Raul Santos
6ea8334012
Fix documentation in StringExtensions
...
(cherry picked from commit ba99387bf3
)
2021-07-26 13:35:12 +02:00
Aaron Franke
17551fe29e
[3.x] Add a simple C# .editorconfig
2021-07-24 16:27:57 -04:00
JestemStefan
9513354f68
Added signed_angle_to for Vector3
...
Added signed_angle_to method for Vector3
Added signed_angle_to for Vector3
formatting fix...
2021-07-09 12:49:12 +02:00
Aaron Franke
85a0345d57
[3.x] Add Quat angle_to method
2021-06-18 11:00:44 -04:00
Marcel Admiraal
7e03bd1671
Remove duplicate WARN_PRINTS macro
2021-06-18 12:57:59 +01:00
Marcel Admiraal
5a58516231
Remove duplicate ERR_PRINTS macro
2021-06-16 11:56:25 +01:00
Rémi Verschelde
80e1585a6e
Style: Cleanup uses of double spaces between words
...
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.
(cherry picked from commit c1c76850cb
)
2021-06-07 12:06:59 +02:00