Commit graph

29 commits

Author SHA1 Message Date
Ruslan Mustakov
d3e5f91b40 Fix wrapping methods with Array return types 2020-08-14 01:44:48 +07:00
Ruslan Mustakov
031774f54f More efficient and GC-safe conversions in API generator 2020-06-03 17:58:47 +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
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
1e8ccfea2b Fix handling of Error as an argument in Godot API 2018-06-04 14:28:14 +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
6e014bbc01 Make godotapigen use getter return type for property types
Fixes #20.
2018-04-24 11:12:49 +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
d4ab8a5524 Update after recent GDNative API changes 2018-01-12 23:22:50 +07:00
Ruslan Mustakov
09326f5104 Fix Reference leak and improve gdnew performance 2018-01-11 16:52:41 +07:00
Ruslan Mustakov
e2feb06468 Add indexed property support 2017-12-18 17:22:12 +07:00
Ruslan Mustakov
8d6972f729 Fix doc generation 2017-12-08 13:21:01 +07:00
Ruslan Mustakov
bf5bd54356 Rename Rect3 to AABB to sync with Godot 2017-11-20 06:52:37 +07:00
Ruslan Mustakov
a93dcd1d4d Update for latest Nim 2017-11-08 11:39:07 +07:00
Ruslan Mustakov
54d962afd4 Fix void return type in godotapigen 2017-10-05 18:55:51 +07:00
Ruslan Mustakov
2c226b90e2 Support of enums in API generator 2017-08-23 13:30:08 +07:00
Ruslan Mustakov
3d9839ceed Fix genSingletonWithDerived 2017-08-16 18:00:07 +07:00
Ruslan Mustakov
8d49c0b910 Register singleton-derived types. Fixes #8 2017-08-15 10:45:57 +07:00
Ruslan Mustakov
c5f6d47f3e Mark emitSignal as discardable 2017-08-14 20:22:08 +07:00
Ruslan Mustakov
34753b7a27 Fix string returns in godotapigen 2017-08-09 16:34:28 +07:00
Ruslan Mustakov
4b6c76e776 Dont add base pragma for PhysicsBody methods 2017-08-08 19:13:51 +07:00
Ruslan Mustakov
988b9e1f11 Documentation & Travis & Refactoring 2017-08-02 22:14:41 +07:00
Ruslan Mustakov
0af5eb3b7f Print godotapigen progress (closes #3) 2017-08-01 20:59:34 +07:00
Ruslan Mustakov
3b8b12833a Rename apigen/apigen.nim to godotapigen.nim 2017-07-31 15:55:52 +07:00