Age | Commit message (Collapse) | Author |
|
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
|
|
This way we avoid possible conflicts with other modules. Specially with include paths.
|
|
All build scripts, other than config.py and SCSub, are now located in the build_scripts subdirectory.
|
|
|
|
|
|
|
|
Added the code for Dictionary as well, but it's not yet supported by the Godot inspector.
|
|
Added constructor that takes IEnumerable for Array and IEnumerable<T> for Array<T>.
Added constructor that takes IDictionary for Dictionary and IDictionary<TKey, TValue> for Dictionary<TKey, TValue>.
|
|
Array now implements IList instead of IList<object, object>.
Dictionary now implements IDictionary instead of IDictionary<object, object>.
|
|
|
|
|
|
Fix -Wimplicit-fallthrough warnings from GCC 8
|
|
|
|
neikeq/road-to-lang-agnostic-docs-is-going-to-be-tough
EditorHelp: Improve enum ref resolving and add constant ref support
|
|
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135.
|