<feed xmlns='http://www.w3.org/2005/Atom'>
<title>godot.git/core/reference.h, branch fix/use-bin-name</title>
<subtitle>Godot Engine – Multi-platform 2D and 3D game engine https://godotengine.org</subtitle>
<id>https://git.neuromancer.sk/godot.git/atom/core/reference.h?h=fix%2Fuse-bin-name</id>
<link rel='self' href='https://git.neuromancer.sk/godot.git/atom/core/reference.h?h=fix%2Fuse-bin-name'/>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/'/>
<updated>2017-09-14T12:40:36Z</updated>
<entry>
<title>Construct Variants from Reference properly in GDNative</title>
<updated>2017-09-14T12:40:36Z</updated>
<author>
<name>Ruslan Mustakov</name>
</author>
<published>2017-08-19T12:41:11Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=f08bc0df7c16a6d12292628ec8cc2e015047c450'/>
<id>urn:sha1:f08bc0df7c16a6d12292628ec8cc2e015047c450</id>
<content type='text'>
Previously godot_variant_new_object constructed Variant without
accounting for the fact that the Object can be a Reference, so refcount
was not increased and References were destructed prematurely.

Also, Reference::init_ref did not propagate refcount increment to the
script instance, which led to desync of refcount info on the script
side and Godot side.
</content>
</entry>
<entry>
<title>Fix use of unitialized variables</title>
<updated>2017-09-01T23:59:26Z</updated>
<author>
<name>Hein-Pieter van Braam</name>
</author>
<published>2017-09-01T20:33:39Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=9c63ab99f0a505b0f60079bb30cc453b4415fddc'/>
<id>urn:sha1:9c63ab99f0a505b0f60079bb30cc453b4415fddc</id>
<content type='text'>
The second in my quest to make Godot 3.x compile with -Werror on GCC7
</content>
</entry>
<entry>
<title>Dead code tells no tales</title>
<updated>2017-08-27T20:13:45Z</updated>
<author>
<name>Rémi Verschelde</name>
</author>
<published>2017-08-27T19:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=7ad14e7a3e6f87ddc450f7e34621eb5200808451'/>
<id>urn:sha1:7ad14e7a3e6f87ddc450f7e34621eb5200808451</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use HTTPS URL for Godot's website in the headers</title>
<updated>2017-08-27T12:16:55Z</updated>
<author>
<name>Rémi Verschelde</name>
</author>
<published>2017-08-27T12:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=bd282ff43f23fe845f29a3e25c8efc01bd65ffb0'/>
<id>urn:sha1:bd282ff43f23fe845f29a3e25c8efc01bd65ffb0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert Object::cast_to() to the static version</title>
<updated>2017-08-24T21:08:24Z</updated>
<author>
<name>Hein-Pieter van Braam</name>
</author>
<published>2017-08-24T20:58:51Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=cacced7e507f7603bacc03ae2616e58f0ede122a'/>
<id>urn:sha1:cacced7e507f7603bacc03ae2616e58f0ede122a</id>
<content type='text'>
Currently we rely on some undefined behavior when Object-&gt;cast_to() gets
called with a Null pointer. This used to work fine with GCC &lt; 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.

This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.

It is explained in this article: https://www.viva64.com/en/b/0226/
</content>
</entry>
<entry>
<title>Changed MethodBind API to request information from methods. It's much claner now.</title>
<updated>2017-08-23T22:11:11Z</updated>
<author>
<name>Juan Linietsky</name>
</author>
<published>2017-08-23T22:10:32Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=3d1c03187132677800b7f6bc609eeef8fe51f315'/>
<id>urn:sha1:3d1c03187132677800b7f6bc609eeef8fe51f315</id>
<content type='text'>
Also changed PropertyInfo to include informatino about class names.
</content>
</entry>
<entry>
<title>Fixes Ref's GetTypeInfo missing with ptrcall disabled</title>
<updated>2017-08-20T12:28:22Z</updated>
<author>
<name>Ignacio Etcheverry</name>
</author>
<published>2017-08-20T12:28:22Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=af4c4397dff5672da42f93e80426a855135b3e28'/>
<id>urn:sha1:af4c4397dff5672da42f93e80426a855135b3e28</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improves method bind detection of signature types</title>
<updated>2017-08-10T05:17:44Z</updated>
<author>
<name>Ignacio Etcheverry</name>
</author>
<published>2017-08-09T09:54:27Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=46fdf163991f6f6893e00b301267c6ef2380008e'/>
<id>urn:sha1:46fdf163991f6f6893e00b301267c6ef2380008e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix passing Refs via ptrcall</title>
<updated>2017-07-28T15:51:17Z</updated>
<author>
<name>Ruslan Mustakov</name>
</author>
<published>2017-07-28T15:27:12Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=5804308c579866ee3992a168913743261e34d221'/>
<id>urn:sha1:5804308c579866ee3992a168913743261e34d221</id>
<content type='text'>
There was no constructor for Ref from const pointer, so compiler decided
to construct Variant from pointer and then construct Ref from Variant
which turned it into NULL, because the Variant had null ref field.
</content>
</entry>
<entry>
<title>fixed ptrcall cast for const Ref&lt;T&gt;</title>
<updated>2017-06-20T19:38:21Z</updated>
<author>
<name>Karroffel</name>
</author>
<published>2017-06-20T19:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=40bb90fabdbb98af9235b224d2172e4c1aeeacc9'/>
<id>urn:sha1:40bb90fabdbb98af9235b224d2172e4c1aeeacc9</id>
<content type='text'>
Some methods require a const Ref&lt;T&gt; argument,
the ptrcall method wrappers cast `void *` to the
apropriate types. The problem is that there is no `Ref(const T *)`
constructor, but since Ref modifies the refcount of a Reference
anyway there's no point in a const version.

The problem is that with a `const T *` constructor call, the
argument gets converted to Variant first and loses all the
reference information, resulting in a null reference as the
argument to the constructor.
</content>
</entry>
</feed>
