Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-23 | Fixing mono build after instance() -> instanciate() name change | Grzegorz Puławski | |
2021-06-17 | Add Quaternion angle_to method | Aaron Franke | |
2021-06-13 | Merge pull request #34668 from aaronfranke/to-string | Rémi Verschelde | |
[Core] Reformat structure string operators | |||
2021-06-13 | Improve & fix Mono build | Pedro J. Estébanez | |
- Fix C++ compile errors about pending variable renames after the `Reference` to `RefCount` change. - Fix C# compile errors due to the recent rename of `EnablePlugin()` and `Build()`, which are now underscore-prefixed in bindings. - Additional rename: `godot_icall_Reference_Dtor` to `godot_icall_RefCounted_Dtor`. | |||
2021-06-11 | Reformat structure string operators | Aaron Franke | |
The order of numbers is not changed except for Transform2D. All logic is done inside of their structures (and not in Variant). For the number of decimals printed, they now use String::num_real which works best with real_t, except for Color which is fixed at 4 decimals (this is a reliable number of float digits when converting from 16-bpc so it seems like a good choice) | |||
2021-06-07 | Style: Cleanup uses of double spaces between words | Rémi Verschelde | |
Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot. | |||
2021-06-04 | Rename Quat to Quaternion | Marcel Admiraal | |
2021-06-03 | Merge pull request #38430 from aaronfranke/transform3d | Rémi Verschelde | |
2021-06-03 | Allow clamping vectors and colors | Aaron Franke | |
2021-06-03 | Rename Vector2 clamped to limit_length and add limit_length to Vector3 | Aaron Franke | |
2021-06-03 | Rename files and the exposed name for Transform3D | Aaron Franke | |
2021-06-03 | Rename Transform to Transform3D in core | Aaron Franke | |
2021-05-21 | Rename Vector2 Perpendicular to Orthogonal in C# | Aaron Franke | |
2021-05-07 | Merge pull request #45144 from dalexeev/color-consts | Rémi Verschelde | |
Rename color constants (alternative) | |||
2021-03-08 | Merge pull request #46174 from xill47/mono-appdomain-unhandled-exception-event | Rémi Verschelde | |
Added mono_unhandled_exception call to unhandled_exception hook | |||
2021-03-08 | Added mono_unhandled_exception call to unhandled_exception hook | Ilya Kuznetsov | |
2021-03-07 | Merge pull request #46713 from neikeq/csharp-source-generators-init | Rémi Verschelde | |
Add C# source generator for ScriptPathAttribute | |||
2021-03-06 | Add C# source generator for a new ScriptPath attribute | Ignacio Etcheverry | |
This source generator adds a newly introduced attribute, `ScriptPath` to all classes that: - Are top-level classes (not inner/nested). - Have the `partial` modifier. - Inherit `Godot.Object`. - The class name matches the file name. A build error is thrown if the generator finds a class that meets these conditions but is not declared `partial`, unless the class is annotated with the `DisableGodotGenerators` attribute. We also generate an `AssemblyHasScripts` assembly attribute which Godot uses to get all the script classes in the assembly, eliminating the need for Godot to search them. We can also avoid searching in assemblies that don't have this attribute. This will be good for performance in the future once we support multiple assemblies with Godot script classes. This is an example of what the generated code looks like: ``` using Godot; namespace Foo { [ScriptPathAttribute("res://Player.cs")] // Multiple partial declarations are allowed [ScriptPathAttribute("res://Foo/Player.cs")] partial class Player {} } [assembly:AssemblyHasScripts(new System.Type[] { typeof(Foo.Player) })] ``` The new attributes replace script metadata which we were generating by determining the namespace of script classes with a very simple parser. This fixes several issues with the old approach related to parser errors and conditional compilation. It also makes the task part of the MSBuild project build, rather than a separate step executed by the Godot editor. | |||
2021-02-25 | Add generic support to PackedScene.Instance | Aaron Franke | |
2021-02-16 | Added signed_angle_to for Vector3 | JestemStefan | |
2021-02-13 | Fix Mono build after resource load cache changes | Xartorx | |
2021-02-01 | Replace ColorN and from HTML with a string constructor | Aaron Franke | |
2021-02-01 | Fix C# string.Hash() | zaevi | |
2021-01-28 | Unify URI encoding/decoding and add to C# | Aaron Franke | |
http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode. | |||
2021-01-28 | Make hex_to_int and bin_to_int handle the prefix automatically | Aaron Franke | |
Also add BinToInt to C# | |||
2021-01-26 | Rename color constants (alternative) | Danil Alexeev | |
Named color constants renamed to UPPERCASE. Unlike #41019, this PR is complete and implements these changes in the simplest way possible. Co-authored-by: Shivam Mukherjee <mshivam98@gmail.com> | |||
2020-12-28 | Merge pull request #44586 from madmiraal/rename-stepify | Rémi Verschelde | |
Rename Math::stepify to snapped | |||
2020-12-28 | Rename Math::stepify to snapped | Marcel Admiraal | |
2020-12-28 | Rename Rect2 and Rect2i grow_margin() to grow_side() | Marcel Admiraal | |
2020-12-26 | Update Rect intersection documentation, and rename method on Mono | Nathan Franke | |
2020-12-07 | Improve argument names for core types | Aaron Franke | |
2020-11-16 | Merge pull request #43250 from aaronfranke/strext-lstrip | Rémi Verschelde | |
Add LStrip, RStrip, and HexEncode to C# | |||
2020-11-13 | Improve comments in Color documentation | Aaron Franke | |
2020-11-11 | Removing unneeded FuncRef code in C# | Grzegorz Puławski | |
2020-11-10 | Minor clamp and float fixes | Aaron Franke | |
2020-11-09 | Add HexEncode to C# | Aaron Franke | |
2020-11-09 | Add LStrip and RStrip to C# strings | Aaron Franke | |
2020-11-07 | [Mono] Added Shuffle method to Array | Yuri Roubinsky | |
2020-11-06 | Exposed randi_range to global funcs + renamed rand_range to randf_range | Yuri Roubinsky | |
2020-11-03 | Remove `Color.contrasted()` as its behavior is barely useful | Hugo Locurcio | |
Returning the most contrasting color isn't a trivial task, as there are often many possible choices. It's usually best left for the user to implement using a script. | |||
2020-10-26 | C#: Fix custom event signals crash on hot-reload | Ignacio Etcheverry | |
Cleanup and re-initialization of event signals before and after hot-reload should be working correctly now. | |||
2020-10-17 | Add GetStringFromUTF8 and GetStringFromASCII | Aaron Franke | |
2020-10-06 | Improve the Vector2 rotated code in C# | Aaron Franke | |
2020-09-24 | Merge pull request #42293 from ricardoalcantara/fix_basis_csharp | Rémi Verschelde | |
Basis RotationQuat should be public. | |||
2020-09-24 | Basis RotationQuat should be public. | Ricardo Alcantara | |
2020-09-23 | Fix C# string.IsAbsPath() | Zae | |
2020-09-16 | Fix ExprMatch stackoverflow | Raul Santos | |
2020-09-12 | Add concatenation support and a new ctor to Godot.Collections.Array | Aaron Franke | |
2020-09-08 | Change inequality comparison operators to use exact equality | Aaron Franke | |
2020-09-01 | Simplify html_is_valid and allow it to work with 3 and 4 hex digits | Aaron Franke | |