Age | Commit message (Collapse) | Author |
|
Optimize Basis constructor for Axis Angle
|
|
[Mono] Change Atan2 arguments to (y, x)
|
|
|
|
This adds constants to projects build via Godot Mono which allows project to conditionally react to different operating systems and 32/64 Bit architecture. Additionally .NET libraries could support multiple engines like Unity and Godot at the same time when compiled from Godot and reacting to definitions.
|
|
[Mono] Misc Basis and AABB improvements
|
|
Create a blacklist of methods that must not be generated. Includes: "to_string", "_to_string" and "_init".
|
|
|
|
Fix C# build error in MarshalUtils debug code
|
|
Replace call to 'mono_runtime_object_init' with manual ctor invoking
|
|
|
|
|
|
Using codespell 1.15.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
Also fixed the hint string of exported members.
|
|
|
|
vsnprintf definition should only be changed when MSC version is older than 2013. The version check and fix is taken from StringUtils.h of assimp.
|
|
drivers/unix/net_socket_posix.cpp: In member function 'NetSocketPosix::NetError NetSocketPosix::_get_socket_error()':
drivers/unix/net_socket_posix.cpp:197:22: warning: logical 'or' of equal expressions [-Wlogical-op]
197 | if (errno == EAGAIN || errno == EWOULDBLOCK)
| ^
and:
modules/mono/utils/string_utils.cpp: In function 'int {anonymous}::sfind(const String&, int)':
modules/mono/utils/string_utils.cpp:68:48: error: logical 'or' of collectively exhaustive tests is always true [-Werror=logical-op]
found = src[read_pos] == 's' || (c >= '0' || c <= '4');
~~~~~~~~~^~~~~~~~~~~
|
|
Make "decimal" functions more consistent
|
|
Fix missing argument for vsnprintf_s
|
|
|
|
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
|
|
SCons: Always use env.Prepend for CPPPATH
|
|
Include paths are processed from left to right, so we use Prepend to
ensure that paths to bundled thirdparty files will have precedence over
system paths (e.g. `/usr/include` should have lowest priority).
|
|
- Elements of types like PackedScene will display with the special editor for such type.
|
|
neikeq/dont-forget-to-think-a-name-for-this-branch
C#: Deprecate accessor methods and generate correct int and float types
|
|
[Core] [Mono] Improve and use approximate equality methods
|
|
|
|
- Only load the scripts metadata file when it's really needed. This way we avoid false errors, when there is no C# project, about missing scripts metadata file.
|
|
- Methods that act as accessors for properties in the same class (like `GetPosition` and `SetPosition` are for `Position`) are now marked as obsolete. They will be made private in the future.
|
|
- Normal log messages are no longer warnings.
- BindingsGenerator is no longer a singleton.
- Added a log function.
|
|
|
|
|
|
Use StringBuilder in C# bindings generator
|
|
Mono: Convert all items to string before printing
|
|
|
|
doc: Drop unused <demos> tag, sync classref
|
|
|
|
- Also fixed generation of empty summary comments when no comment should have been generated.
|
|
Mono: Use exit(status) instead of abort() in exception hook
|
|
|
|
Godot.Object, Array, Dictionary and RID were missing ToString() override methods
|
|
- The default log level in debug builds is now 'info' instead of 'debug'.
- Add option to specify a different log level with the 'GODOT_MONO_LOG_LEVEL' environment variable.
- The name of log files is now a readable date and time.
- Always print the log file path (previously it was printed only it in verbose mode).
|
|
Fixes #17233 allowing C# to override _GetPropertyList
|
|
|
|
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
|
|
Workaround for syntax highlighting issue in GitHub
|
|
|
|
Mono: Add CPPPATH only to env_mono and cleanup build scripts
|
|
Replace a few #if/#elif with #ifdef and "#elif defined"
|
|
Added method to retrieve a direction vector from one point to another
|
|
Added smoothstep built-in function
|