Ruslan Mustakov
78d3626fa3
Do not log error when casting fails
...
This allows not to perform unnecessary 'of' check before
casting, if cast failure is expected.
2019-12-04 23:58:13 +07:00
Ruslan Mustakov
1b8e7ccd98
Add variant conversion for Option[T]
2019-10-02 15:26:41 +07:00
Ruslan Mustakov
c2db807da4
Up version to 0.7.23
2019-09-20 09:20:50 +07:00
Dwana Games
7dd1b1ed5f
Add self to field initialization
2019-09-20 09:20:27 +07:00
Ruslan Mustakov
2f3f4034cf
Fix newVariant for nil strings and older Nim
2019-09-18 13:27:31 +07:00
Ruslan Mustakov
19b0c23d62
Finalize support for Nim 0.20
...
Closes #32 , closes #41 .
2019-09-15 20:11:15 +07:00
Dwana Games
0fecfdb3b8
Updated to work with nim 0.20
...
- Attempt to fix deprecated this:self pragma by injecting self to methods and properties (needs more testing)
- Changed import headers to use / (slash) instead of . (period)
- Fixed object branch in godotapigen.nim
- Fixed deprecated nimNode.ident with nimNode.strVal
Fix toGodotName function
Consider procCall calls as special cases, otherwise it gives problems in _init function
Fix infinite recursive call in Godot 3.2
2019-09-15 15:34:09 +07:00
zetashift
34fda99def
Small changes to add 0.18.0 compatibility
...
Change toGodotName back to macro because that got fixed in devel
change isSome to isNone in godotapigen
2019-09-15 15:33:59 +07:00
Fabian Keller
3a935b9308
attempt to make 0.19 compatible
...
workaround for nim/macro/typedesc issue
work-around for nim-lang/Nim#7375
fixed more isNil usages
fixed new name of setStackBottom
2019-09-15 15:33:44 +07:00
Konstantin Zaitsev
f45281f5a0
Fix possible double free memory on exit
2019-09-12 18:59:11 +07:00
Ruslan Mustakov
db4bb91765
Fix editor crash in multithreaded mode
2019-07-09 13:48:54 +07:00
Ruslan Mustakov
e9d73d8ec4
Fix GDNative API procedure declarations
...
Earlier signature mismatch caused problems on macOS with Godot 3.1.
2018-10-11 19:06:05 +07:00
Ruslan Mustakov
859f9f04fb
OrderedTable to Variant conversion support
v0.7.17
2018-09-21 16:34:09 +07:00
Evgeny Zuev
ceaf66a34c
Make classRegistry use hashes instead of strings as keys for faster lookup
...
v0.7.16
Up version to 0.7.16
2018-08-29 13:44:37 +07:00
Ruslan Mustakov
fd5f77e7c2
Fix gdobj to properly handle var block
v0.7.15
2018-08-14 17:59:24 +07:00
Evgeny Zuev
8d68051f23
Fix system.of being preferred over godot.of in some cases
...
v0.7.14
Fix `as` fails when argument `obj` is not convertible to `T`
Up version to 0.7.14
2018-06-21 17:53:01 +07:00
Ruslan Mustakov
13f5aba3fe
Up version to 0.7.13
v0.7.13
2018-06-04 17:26:26 +07:00
Ruslan Mustakov
b3ad6134d9
Fix doc generation
2018-06-04 16:24:52 +07:00
Ruslan Mustakov
1e8ccfea2b
Fix handling of Error as an argument in Godot API
2018-06-04 14:28:14 +07:00
Ruslan Mustakov
9e61030817
Up version to 0.7.12
v0.7.12
2018-06-04 11:50:37 +07:00
Ruslan Mustakov
66c939b9e6
Fix for latest Nim
...
Closes #23 .
2018-06-04 11:50:37 +07:00
Ruslan Mustakov
76de026b4f
Implement hash proc for Godot types
2018-06-04 11:50:37 +07:00
Ruslan Mustakov
4eb771e9be
Support all the default values
2018-06-04 11:50:37 +07:00
Ruslan Mustakov
2dd0130c78
Avoid name clashes between properties and methods
...
Fixes #19 .
2018-06-04 11:50:37 +07:00
Ruslan Mustakov
651c2d823c
Handle nil object references properly
...
Fixes #26 .
2018-06-04 11:50:37 +07:00
Ruslan Mustakov
8b1ac6d835
Fix compilation with C++ backend. Fixes #25 .
2018-06-04 11:50:37 +07:00
Jon Renner
21ca9a088b
export Vector2 normalize proc
2018-05-19 14:30:02 +07:00
Ruslan Mustakov
96dfc7de90
Fix for latest Nim
v0.7.11
2018-05-16 15:06:57 +07:00
Ruslan Mustakov
a1d1481967
Add a remark to thread enter warning
v0.7.10
2018-05-14 21:15:11 +07:00
Ruslan Mustakov
6e014bbc01
Make godotapigen use getter return type for property types
...
v0.7.9
Fixes #20 .
2018-04-24 11:12:49 +07:00
Ruslan Mustakov
dc6ebaf575
Fix GDNative API version check
...
v0.7.8
Fixes #18 .
2018-03-31 17:45:50 +07:00
Ruslan Mustakov
be6f01e3b7
More pool array features: subarray, mitems, mpairs
v0.7.7
2018-02-22 18:55:52 +07:00
Ruslan Mustakov
d11856377e
Implement Vector2 and Rect2 procs
...
v0.7.6
This allows compiler to inline/optimize them, which cannot be done if
these procs are invoked via GDNative API.
2018-02-17 23:44:07 +07:00
Ruslan Mustakov
0aab6e17ef
Update license year and fix doc to have Godot 3.0 download URL
v0.7.5
2018-01-31 20:52:15 +07:00
Ruslan Mustakov
5ccf351b5a
Fix Variant export
2018-01-31 20:30:13 +07:00
Ruslan Mustakov
f05eb090f7
Update after GDNative API changes
v0.7.4
2018-01-25 17:52:58 +07:00
Ruslan Mustakov
e3216f09d0
Update ref types not to be var in parameters
2018-01-25 17:39:01 +07:00
Ruslan Mustakov
ae3171cb98
Fix Vector2 +=
v0.7.3
2018-01-15 11:01:48 +07:00
Ruslan Mustakov
d4ab8a5524
Update after recent GDNative API changes
v0.7.2
2018-01-12 23:22:50 +07:00
Ruslan Mustakov
09326f5104
Fix Reference leak and improve gdnew performance
v0.7.1
2018-01-11 16:52:41 +07:00
Ruslan Mustakov
d89073bac8
Do not depend on asyncdispatch
...
v0.7.0
Instead, allow to register frame callbacks.
2017-12-29 11:52:00 +07:00
Ruslan Mustakov
e2feb06468
Add indexed property support
v0.6.11
2017-12-18 17:22:12 +07:00
Ruslan Mustakov
4d19140d7c
Update for latest GDNative API changes
v0.6.10
2017-12-18 13:48:01 +07:00
Ruslan Mustakov
72dd992e66
Fix docbuild
2017-12-08 21:23:32 +07:00
Ruslan Mustakov
50835baca8
Fix travis
2017-12-08 16:50:08 +07:00
Ruslan Mustakov
c06792df8d
Add vec2(). Closes #12
2017-12-08 16:07:23 +07:00
Ruslan Mustakov
8d6972f729
Fix doc generation
2017-12-08 13:21:01 +07:00
Ruslan Mustakov
0d21c361d0
Use setStackBottom for methods called from outside
v0.6.9
2017-11-28 12:04:07 +07:00
Ruslan Mustakov
3e1e8f1073
Repair Travis build
2017-11-22 17:35:56 +07:00
Ruslan Mustakov
e2049ff1a7
Update for latest Nim
v0.6.8
2017-11-22 16:38:28 +07:00