summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2019-05-24C#: Implement ScriptInstance::to_stringIgnacio Etcheverry
Create a blacklist of methods that must not be generated. Includes: "to_string", "_to_string" and "_init".
2019-05-21Merge pull request #29079 from neikeq/oopsieIgnacio Roldán Etcheverry
Fix C# build error in MarshalUtils debug code
2019-05-21Merge pull request #29052 from neikeq/fixes-28667------i-thinkIgnacio Roldán Etcheverry
Replace call to 'mono_runtime_object_init' with manual ctor invoking
2019-05-21Fix C# build error in MarshalUtils debug codeIgnacio Etcheverry
2019-05-21Replace call to 'mono_runtime_object_init' with manual ctor invokingIgnacio Etcheverry
2019-05-19Fix typos with codespellRémi Verschelde
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 ```
2019-05-18C#: Marshalling support for IEnumerable<> and IDictionary<,>Ignacio Etcheverry
Also fixed the hint string of exported members.
2019-05-05Fix generation of Mono Glue for Visual Studio 2017+ShyRed
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.
2019-05-02Ignore a warning in _get_socket_error (-Wlogical-op).marxin
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'); ~~~~~~~~~^~~~~~~~~~~
2019-05-01Merge pull request #21425 from aaronfranke/decimal-functionsRémi Verschelde
Make "decimal" functions more consistent
2019-05-01Merge pull request #28544 from neikeq/issue-28540Rémi Verschelde
Fix missing argument for vsnprintf_s
2019-04-30Fix missing argument for vsnprintf_sIgnacio Etcheverry
2019-04-30Make "decimal" functions more consistentAaron Franke
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
2019-04-30Merge pull request #28530 from akien-mga/scons-prepend-cpppathRémi Verschelde
SCons: Always use env.Prepend for CPPPATH
2019-04-30SCons: Always use env.Prepend for CPPPATHRémi Verschelde
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).
2019-04-29C#: Support resource type hint in exported arraysIgnacio Etcheverry
- Elements of types like PackedScene will display with the special editor for such type.
2019-04-29Merge pull request #28423 from ↵Rémi Verschelde
neikeq/dont-forget-to-think-a-name-for-this-branch C#: Deprecate accessor methods and generate correct int and float types
2019-04-29Merge pull request #18992 from aaronfranke/mono-equal-approxRémi Verschelde
[Core] [Mono] Improve and use approximate equality methods
2019-04-27C#: Generate the correct integer and floating point typesIgnacio Etcheverry
2019-04-26Mono: Lazily load scripts metadata fileIgnacio Etcheverry
- 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.
2019-04-25C#: Mark generated property accessor methods as ObsoleteIgnacio Etcheverry
- 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.
2019-04-25C# bindings generator cleanupIgnacio Etcheverry
- Normal log messages are no longer warnings. - BindingsGenerator is no longer a singleton. - Added a log function.
2019-04-25[Mono] Approximate equalityAaron Franke
2019-04-24Fix invalid mono log file name on WindowsIgnacio Etcheverry
2019-04-22Merge pull request #28179 from neikeq/welpRémi Verschelde
Use StringBuilder in C# bindings generator
2019-04-20Merge pull request #27820 from ForLoveOfCats/masterIgnacio Roldán Etcheverry
Mono: Convert all items to string before printing
2019-04-19Mono: Convert all items to string before printingForLoveOfCats
2019-04-19Merge pull request #28192 from akien-mga/doc-unused-demosRémi Verschelde
doc: Drop unused <demos> tag, sync classref
2019-04-19doc: Drop unused <demos> tagRémi Verschelde
2019-04-19Use StringBuilder in C# bindings generatorIgnacio Etcheverry
- Also fixed generation of empty summary comments when no comment should have been generated.
2019-04-18Merge pull request #28161 from neikeq/exception-hook-no-abortIgnacio Roldán Etcheverry
Mono: Use exit(status) instead of abort() in exception hook
2019-04-18Mono: Use exit(status) instead of abort() in exception hookIgnacio Etcheverry
2019-04-18C#: Add missing ToString() override methodsIgnacio Etcheverry
Godot.Object, Array, Dictionary and RID were missing ToString() override methods
2019-04-17Mono: Logging improvementsIgnacio Etcheverry
- 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).
2019-04-12Merge pull request #27950 from Nonnu42/contribIgnacio Roldán Etcheverry
Fixes #17233 allowing C# to override _GetPropertyList
2019-04-12Fixes #17233 allowing C# to override _GetPropertyListNuno Cardoso
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
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).
2019-04-08Merge pull request #27809 from neikeq/github-plsIgnacio Roldán Etcheverry
Workaround for syntax highlighting issue in GitHub
2019-04-08Workaround for syntax highlighting issue in GitHubIgnacio Etcheverry
2019-04-08Merge pull request #26458 from neikeq/mono-build-cleanupRémi Verschelde
Mono: Add CPPPATH only to env_mono and cleanup build scripts
2019-04-08Merge pull request #27711 from neikeq/ifdef-clang-tidyRémi Verschelde
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-08Merge pull request #27452 from Chaosus/direction_toRémi Verschelde
Added method to retrieve a direction vector from one point to another
2019-04-08Merge pull request #27231 from Chaosus/smoothstepRémi Verschelde
Added smoothstep built-in function
2019-04-07Mono: Add compiler flags to env_mono instead of envIgnacio Etcheverry
This way we avoid possible conflicts with other modules. Specially with include paths.
2019-04-07Mono: Reorganize build scriptsIgnacio Etcheverry
All build scripts, other than config.py and SCSub, are now located in the build_scripts subdirectory.
2019-04-07Added smoothstep built-in functionChaosus
2019-04-06Remove unused importsHendrikto
2019-04-06Fix wrong method binds and registered classIgnacio Etcheverry
2019-04-06C#: Support type hints for exported ArraysIgnacio Etcheverry
Added the code for Dictionary as well, but it's not yet supported by the Godot inspector.
2019-04-06C#: Add marshalling support for IEnumerable and IDictionaryIgnacio Etcheverry
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>.