Jason
00d8ac2691
Support nim case insensitivy in pragmas
2021-03-12 11:09:55 +07:00
Ruslan Mustakov
3f46e3c648
Break reference cycle in NimGodotObject
2020-06-05 16:53:34 +07:00
Ruslan Mustakov
031774f54f
More efficient and GC-safe conversions in API generator
2020-06-03 17:58:47 +07:00
zetashift
157a90e4a0
add gensym in hygienic template fix thanks to demotohiro ( #55 )
...
Add gensym in hygienic template fix thanks to demotohiro
2020-02-05 11:35:50 +07:00
Ruslan Mustakov
d1b82d351c
Fix unsigned int conversion to/from Variant
2019-12-23 20:53:13 +07:00
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
Dwana Games
7dd1b1ed5f
Add self to field initialization
2019-09-20 09:20:27 +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
859f9f04fb
OrderedTable to Variant conversion support
2018-09-21 16:34:09 +07:00
Evgeny Zuev
ceaf66a34c
Make classRegistry use hashes instead of strings as keys for faster lookup
...
Up version to 0.7.16
2018-08-29 13:44:37 +07:00
Ruslan Mustakov
fd5f77e7c2
Fix gdobj to properly handle var block
2018-08-14 17:59:24 +07:00
Evgeny Zuev
8d68051f23
Fix system.of being preferred over godot.of in some cases
...
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
66c939b9e6
Fix for latest Nim
...
Closes #23 .
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
Ruslan Mustakov
a1d1481967
Add a remark to thread enter warning
2018-05-14 21:15:11 +07:00
Ruslan Mustakov
d11856377e
Implement Vector2 and Rect2 procs
...
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
2018-01-31 20:52:15 +07:00
Ruslan Mustakov
5ccf351b5a
Fix Variant export
2018-01-31 20:30:13 +07:00
Ruslan Mustakov
09326f5104
Fix Reference leak and improve gdnew performance
2018-01-11 16:52:41 +07:00
Ruslan Mustakov
d89073bac8
Do not depend on asyncdispatch
...
Instead, allow to register frame callbacks.
2017-12-29 11:52:00 +07:00
Ruslan Mustakov
0d21c361d0
Use setStackBottom for methods called from outside
2017-11-28 12:04:07 +07:00
Ruslan Mustakov
e2049ff1a7
Update for latest Nim
2017-11-22 16:38:28 +07:00
Ruslan Mustakov
a1c378301a
Update for latest Godot
2017-11-21 02:44:32 +07:00
Ruslan Mustakov
bf5bd54356
Rename Rect3 to AABB to sync with Godot
2017-11-20 06:52:37 +07:00
Ruslan Mustakov
cc6bfa0045
Update for latest GDNative API changes
2017-11-13 10:18:25 +07:00
Ruslan Mustakov
26570707aa
Fix poll loop
2017-10-18 11:47:20 +07:00
Ruslan Mustakov
d2b86a2b94
Perform poll(0) in a loop
...
Temporary workaround for https://github.com/nim-lang/Nim/issues/6523
2017-10-17 16:32:07 +07:00
Ruslan Mustakov
1b47dac4e9
Fix thread_enter not to use GC
2017-10-16 20:10:16 +07:00
Ruslan Mustakov
b62db02d8f
Use GDNative API struct
2017-10-05 18:28:12 +07:00
Evgeny Zuev
cf75723fa1
Fix crash when passing nil seq to godot
...
Up version to 0.5.10
2017-09-19 18:26:55 +07:00
Ruslan Mustakov
77a8cf7815
Replace ~ with of
2017-09-14 11:04:34 +07:00
Ruslan Mustakov
99934854d0
Fix Reference handling
2017-09-14 10:49:43 +07:00
Ruslan Mustakov
ee53768c13
Export generated init
2017-09-04 20:28:34 +07:00
Ruslan Mustakov
b5fd4295e6
Always generate init with super call
2017-09-04 19:29:59 +07:00
Ruslan Mustakov
fda800fd26
Avoid using godot_get_stack_bottom
...
It's not reliable on Android.
2017-08-23 13:29:35 +07:00
Ruslan Mustakov
7a96e33f74
Treat process and fixed process as multilevel calls
2017-08-17 17:47:27 +07:00
Ruslan Mustakov
f54de5cd46
Remove wrong assertion (false for references)
2017-08-17 16:52:11 +07:00
Ruslan Mustakov
72e6e774a7
Remove debug code from gdobj
2017-08-11 12:30:12 +07:00
Ruslan Mustakov
e8ea5fbe27
Rename noExport -> noGdExport
2017-08-09 17:03:48 +07:00
Ruslan Mustakov
fcc10071fb
Fix toVariant for nil values
2017-08-08 21:58:17 +07:00
Ruslan Mustakov
daa56270e5
Fix object property export
2017-08-08 17:23:45 +07:00
Ruslan Mustakov
4cc9711d2f
Handle nil in ==
2017-08-07 22:13:42 +07:00
Ruslan Mustakov
8ef554501f
Add nil check to tilde
2017-08-07 20:59:32 +07:00
Ruslan Mustakov
327cd0e18f
Proper inheritance checks and conversion
2017-08-06 19:22:38 +07:00