summaryrefslogtreecommitdiff
path: root/modules/mono/glue
AgeCommit message (Collapse)Author
2019-12-17Mono/C#: Fix project export and fix FindLast/GetFile regressionIgnacio Etcheverry
d09193b08ae8fdb082bee6ffd3828eb19fd45ce6 introduced a regression in StringExtensions.FindLast. StringExtensions.GetFile was also affected as it relies on FindLast. This in turn broke the project exporter as it uses GetFile. The cause of the regression is that now FindLast is calling LastIndexOf with 'startIndex: 0'. This should be 'startIndex: str.Length - 1' instead. Also fixed another regression in the project exporter: de7c2ad21b4cc2d889a5aeda64ead962036d2aa4 moved 'GodotTools/GodotSharpExport.cs' to 'GodotTools/Export/ExportPlugin.cs' and in doing so accidently reverted the changes from commit e439581198de92e63661c4fe71108cb59cc2d999.
2019-12-13Merge pull request #34295 from aaronfranke/potato-knishesRémi Verschelde
[Mono] Fix string Find methods having reversed case sensitivity
2019-12-12Fix string Find methods having reversed case sensitivityAaron Franke
2019-12-11Mono formattingAaron Franke
No space for casting, add spaces inside braces, 4 space indentation, remove trailing indentation, remove BOM.
2019-12-06Fix missing null checks in Mono Binding of GDJonas
The print methods of mono binding was missing null checks for the params
2019-12-04C#: Add Duplicate method to the Array and Dictionary bindingsIgnacio Etcheverry
2019-11-18C#: Throw NullReferenceException for null NodePath/RID paramsIgnacio Etcheverry
2019-11-13Mono/C#: WebAssembly supportIgnacio Etcheverry
2019-11-07Merge pull request #32477 from aaronfranke/equal-approx-separateRémi Verschelde
Make is_equal_approx separate and make == exact again
2019-10-29[Mono] Alphabetize MathfAaron Franke
2019-10-14Expose is_equal_approx and restore == to be exact againAaron Franke
This commit changes behavior for GDScript and C#. Also did some organizing of the order to logically group related methods, mostly for Rect2 and AABB.
2019-10-14Make is_equal_approx separate for structuresAaron Franke
This commit adds exposed behavior for C#
2019-10-08[Mono] Change Plane intersect methods to return nullable Vector3Aaron Franke
2019-09-16[Mono] Corrected rectangle intersectionChaosus89
2019-09-01Check for exact equality before approximate equalityAaron Franke
2019-08-27[Mono] Various Color improvementsAaron Franke
I also slid in a fix to C++ Vector3 > and >=
2019-08-25Set C# 7 as LangVersion for GodotTools and Godot API projectsIgnacio Etcheverry
This will make it harder for someone to accidentally commit code that requires a newer version.
2019-08-17Add Vector2/3 sign and posmod functions, misc additionsAaron Franke
Also make the docs more consistent, add Axis enum to Vector2, add > and >=. and C# also gets % and an override for vector-vector mod.
2019-08-14Merge pull request #31347 from neikeq/monodevelop-addinRémi Verschelde
C#: Add Ide Connection library and server for the editor
2019-08-09Add Basis constants and format Transform constantsAaron Franke
2019-08-09Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'modules/mono'Ignacio Etcheverry
And 'CRASH_*_MSG' as well. Also make error messages puntuation and quotation more consistent.
2019-08-07[Mono] Make all structs seralizableAaron Franke
2019-08-04[Core] [Mono] Optimize Wrap functionsAaron Franke
Use is_zero_approx(), avoid a negative, and also rename "rng" to "range".
2019-08-04C#: Fix Color.ToHtml()Ignacio Etcheverry
2019-08-04C#: Add Ide Connection library and server for the editorIgnacio Etcheverry
This will be used for communicating between the Godot editor and external IDEs/editors, for things like opening files, triggering hot-reload and running the game with a debugger attached.
2019-07-28[Mono] Deprecate Set methodsAaron Franke
These silently fail, so they should be removed. I accidentally added most of these last year, trying to make everything else consistent with Quat, sorry! Also, a few tiny nitpicking changes are included, like whitespace and misspellings.
2019-07-27C#: Fix Transform2D.AffineInverse()Ignacio Etcheverry
2019-07-23Added count method to StringChaosus
2019-07-20Added lerp_angles built-in functionChaosus
Co-authored-by: Xrayez <https://github.com/Xrayez> Co-authored-by: DleanJeans <https://github.com/DleanJeans>
2019-07-08Fix Godot.Object.ToString() infinite recursionIgnacio Etcheverry
Should not be using Variant to String conversion as that would call ToString() again
2019-07-05Re-write mono module editor code in C#Ignacio Etcheverry
Make the build system automatically build the C# Api assemblies to be shipped with the editor. Make the editor, editor player and debug export templates use Api assemblies built with debug symbols. Always run MSBuild to build the editor tools and Api assemblies when building Godot. Several bugs fixed related to assembly hot reloading and restoring state. Fix StringExtensions internal calls not being registered correctly, resulting in MissingMethodException.
2019-07-03Mono: Fix Array IndexOutOfRangeException not being thrownIgnacio Etcheverry
2019-06-03Android build and export for the mono moduleIgnacio Etcheverry
2019-06-01Merge pull request #27789 from Giacom/move_towardsRémi Verschelde
Added move_toward functions for float, Vector2 and Vector3
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-26[Mono] Change Atan2 arguments to Y XAaron Franke
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-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-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-27C#: Generate the correct integer and floating point typesIgnacio Etcheverry
2019-04-25[Mono] Approximate equalityAaron Franke
2019-04-20Merge pull request #27820 from ForLoveOfCats/masterIgnacio Roldán Etcheverry
Mono: Convert all items to string before printing