Age | Commit message (Collapse) | Author |
|
Dictionary: remove erase_checked(key), make erase(key) return bool
|
|
Fix case where exported properties value is lost
|
|
|
|
|
|
mono: add IsInstanceValid(), move WeakRef()
|
|
|
|
As advised by @neikeq.
|
|
Add missing GetPtr() for Dictionary<> and Array<>
|
|
|
|
- Count and panel per script.
- Ability to disable warnings per script using special comments.
- Ability to disable warnings globally using Project Settings.
- Option to treat enabled warnings as errors.
|
|
|
|
added get_creation_time function for gdscript
|
|
Add missing GetPtr() method for generic versions of Dictionary
and Array to fix #20705.
|
|
Mono: Added generic methods for PackedScene & ResourceLoader
|
|
|
|
Fixed Windows mono compile
|
|
tidy: formatting.
|
|
Mono: Fix property set_value and cleanup
|
|
|
|
Fixes exported property modified values lost when creating a placeholder script instance with a failed script compilation
- Object set/get will call PlaceHolderScriptInstance's new fallback set/get methods as a last resort. This way, placeholder script instances can keep the values for storage or until the script is compiled successfuly.
- Script::can_instance() will only return true if a real script instance can be created. Otherwise, in the case of placeholder script instances, it will return false.
- Object::set_script(script) is now in charge of requesting the creation of placeholder script instances. It's no longer Script::instance_create(owner)'s duty.
- PlaceHolderScriptInstance has a new method set_build_failed(bool) to determine whether it should call into its script methods or not.
- Fixed a few problems during reloading of C# scripts.
|
|
(cherry picked from commit 83140541dc91c29a288d7dd71044780b50b2cc4b)
|
|
- Refactored all builder (make_*) functions into separate Python modules along to the build tree
- Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere
- Introduced stub to use the builders module as a stand alone script and invoke a selected function
There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp)
on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky
builds. Running all such content generators in a new subprocess instead of directly inside the
build script works around the issue.
Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle.
Suggested workaround did not fully work either.
Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of
running a cross-compilation on Windows they would still be used, but likely it will not happen
in practice. What counts is that the build itself is running on which platform, not the target
platform.
Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
|
|
* GetNodeOrNull<T>
* GetChild<T>
* GetChildOrNull<T>
* GetOwner<T>
* GetOwnerOrNull<T>
* GetParent<T>
* GetParentOrNull<T>
|
|
[Core] [Mono] Fix Color missing int export methods, added 64-bit
|
|
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
|
|
[Mono] Fix Color incorrect ordering of int export methods, added 64-bit long export methods.
|
|
|
|
|
|
|
|
|
|
Makes Mono binding classes partial & adds GetNode<T>.
|
|
Mono: Add Dictionary and Array classes
|
|
Fixes #20053.
|
|
[Mono] Improvements to GD.cs: PascalCasing and real_t
|
|
[Mono] Update about/warning text
|
|
[Mono] Improvements to GD.cs: PascalCasing and real_t
|
|
I've removed the section about being unable to export games using C# - as you are now able to do this, as long as the export templates are installed. Also, I've made a few minor grammar tweaks.
|
|
The line number is hightlighted to indicate that the line contains only
type-safe code.
|
|
|
|
|
|
Fix bug where Basis.Transposed() incorrectly updated local basis, and
returned an unmodified copy. This also fixes Transform.Inverse().
|
|
Make C# bindings generator ignore disabled classes
|
|
|
|
|
|
On macOS, it is common to install packages like Mono through the third-party
package-manager Homebrew. This commit simply adds an additional path to
where Homebrew installs the Mono framework.
|
|
[Mono] Rename Fposmod to PosMod, fix output
|
|
Mono: Fixes annotated signal loading in exported binaries
|
|
[C#] Lerp now consistent with Godot API. InverseLerp fixed.
|
|
|
|
|