summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2019-06-18Unexpose subclasses of ResourceFormatLoader and -SaverRémi Verschelde
ResourceFormatLoader and ResourceFormatSaver are meant to be overridden to add support for different formats in ResourceLoader and ResourceSaver. Those should be exposed as they can be overridden in plugins. On the other hand, all predefined subclasses of those two base classes are only meant to register support for new file and resource types, but should not and cannot be used directly from script, so they should not be exposed. Also unexposed ResourceImporterOGGVorbis (and thus its base class ResourceImporter) which are editor-only.
2019-06-15Mono: Fix -Wduplicated-branches warningRémi Verschelde
2019-06-08Merge pull request #29606 from neikeq/remove-unneeded-mono-patchesIgnacio Roldán Etcheverry
Remove obsolete mono patch for pthread_mutexattr_setprotocol
2019-06-08Remove obsolete mono patch for pthread_mutexattr_setprotocolIgnacio Etcheverry
This has already been fixed in Mono both master and 2019-06 (no other branch other than the skipped 2019-04 branch uses pthread_mutexattr_setprotocol).
2019-06-04Mono: Fix SCons options added to the wrong environmentIgnacio Etcheverry
2019-06-03Android build and export for the mono moduleIgnacio Etcheverry
2019-06-03Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde
Fix code completion not working with class_name
2019-06-01Merge pull request #27789 from Giacom/move_towardsRémi Verschelde
Added move_toward functions for float, Vector2 and Vector3
2019-05-29Escape quote char for non-Windows OSShyRed
Quote char appears to be ignored by ProcessStartInfo on non-Windows operating systems, so it needs to be escaped.
2019-05-28Added move_toward functions for float, Vector2 and Vector3Giacom
2019-05-27Merge pull request #28957 from aaronfranke/basis-optimizeRémi Verschelde
Optimize Basis constructor for Axis Angle
2019-05-26Merge pull request #29184 from aaronfranke/mono-tan-xy-yxIgnacio Roldán Etcheverry
[Mono] Change Atan2 arguments to (y, x)
2019-05-26[Mono] Change Atan2 arguments to Y XAaron Franke
2019-05-26Add Godot constants to Mono project buildsShyRed
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.
2019-05-26Merge pull request #29021 from aaronfranke/mono-tupleIgnacio Roldán Etcheverry
[Mono] Misc Basis and AABB improvements
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-22[Mono] Misc Basis and AABB improvementsAaron Franke
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-17Optimize Basis constructor for Axis AngleAaron Franke
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