Commit graph

41 commits

Author SHA1 Message Date
Jason
00d8ac2691 Support nim case insensitivy in pragmas 2021-03-12 11:09:55 +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
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
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
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
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
b62db02d8f Use GDNative API struct 2017-10-05 18:28:12 +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
7a96e33f74 Treat process and fixed process as multilevel calls 2017-08-17 17:47:27 +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
daa56270e5 Fix object property export 2017-08-08 17:23:45 +07:00
Ruslan Mustakov
327cd0e18f Proper inheritance checks and conversion 2017-08-06 19:22:38 +07:00
Ruslan Mustakov
72b706d7fe Allow to omit type when default value is present 2017-08-06 13:43:11 +07:00
Ruslan Mustakov
f91a0d0364 Allow gdExport without Nim export 2017-08-05 23:02:48 +07:00
Ruslan Mustakov
3b89eeb9a7 Support default values 2017-08-05 22:33:21 +07:00
Ruslan Mustakov
c1c1852203 Provide type hints for standard types 2017-08-05 21:08:28 +07:00
Ruslan Mustakov
988b9e1f11 Documentation & Travis & Refactoring 2017-08-02 22:14:41 +07:00
Ruslan Mustakov
294c057ff9 Suppress false warning 2017-08-01 21:06:20 +07:00
Ruslan Mustakov
a91fe1f713 Temporary solution for multilevel calls 2017-08-01 20:50:10 +07:00
Ruslan Mustakov
692fbe892b Support tool specifier 2017-08-01 18:25:24 +07:00
Ruslan Mustakov
be02bdfd9c Put internal types in their modules 2017-07-31 19:00:15 +07:00
Ruslan Mustakov
728e3012c6 Export exported fields in gdobj 2017-07-31 18:44:52 +07:00
Ruslan Mustakov
7185682025 Dont import with '..' 2017-07-31 13:52:16 +07:00
Ruslan Mustakov
5884cb766a Fix invokeVarArgs return value 2017-07-28 22:38:47 +07:00
Ruslan Mustakov
05c858ee44 Fix invokeVarArgs 2017-07-28 18:44:01 +07:00
Ruslan Mustakov
f5769045fc No destructors 2017-07-28 17:56:28 +07:00
Ruslan Mustakov
94f6f7c8a7 Fix checking for void and table's toGodot 2017-07-27 11:06:26 +07:00
Ruslan Mustakov
863df0ae45 Proper handling of References 2017-07-26 22:50:10 +07:00
Ruslan Mustakov
dc00986f29 Use godot style for property names 2017-07-26 14:20:09 +07:00
Ruslan Mustakov
b41a37681f Migrate to NativeScript+GDNative 2017-07-25 12:37:05 +07:00
Ruslan Mustakov
f1c7e80c51 Initial version 2017-07-21 13:05:04 +07:00