b1ecaaa22b
Merge pull request #10307 from Rubonnek/update-argument-names
...
Updated function argument names
2017-08-16 17:17:56 +02:00
2a26c5ce62
Comment include order to avoid errors
...
So as to not revive #10071 , as suggested by @akien-mga.
2017-08-15 22:12:57 +02:00
428f03cf06
Updated function argument names
2017-08-12 15:12:49 -04:00
2f290038d6
Removes type information from method binds
2017-08-10 07:17:50 +02:00
0b55363a82
Implemented String C API.
2017-08-08 23:42:54 +02:00
76ce18c290
[GDNative] fixed double variant call
...
This bug got discovered thanks to clang!
2017-08-06 02:04:06 +02:00
cfe4b30941
renamed node path, closes #5691
2017-08-05 09:13:59 -03:00
d71171026f
Dont call nativescript callbacks if lib is not initialized
2017-08-04 21:17:33 +07:00
ab3b1e67c7
[GDNative] fixed a bug with ambiguous include paths
...
fixes #10071 . The problem is that the json.h file includes the
local variant.h instead of the "absolute" core/variant.h
2017-08-04 03:26:32 +02:00
c143f86968
[GDNative/NativeScript] fix -rdynamic and removed _init call
...
The _init call was buggy anyway and in the end shouldn't be a
thing that's called via ClassDB, it should be something that's
language specific, so we leave this out for the bindings.
In the commit 66a7763 the SCsub file for GDNative was changed to
use a cloned environment, that bricked -rdynamic which needs to be
passed down to the linker, which didn't happen with the new env.
2017-08-02 14:21:12 +02:00
880048377d
[GDNative] better header include paths
...
The old include paths caused some problems on some compilers, for
example including "string.h" was ambiguous.
2017-08-02 03:50:33 +02:00
3193460c4a
Pass GDNativeLibrary pointer to library init
2017-07-28 22:43:23 +07:00
135c2112ad
added an optional parameter to OS symbol lookup
...
When looking up a symbol from a library, previously an error was
shown when the symbol did not exist. That caused confusion when the
lookup was completely optional.
This adds a new parameter to that method so that those errors can
be handled manually if needed.
2017-07-27 11:13:21 +02:00
9caf9fa76f
Merge pull request #9720 from endragor/stack-bottom
...
Add a way to retrieve stack bottom of the main thread
2017-07-26 15:30:04 +02:00
3b88476130
Add a way to retrieve stack bottom of the main thread
...
I'm working on Nim bindings and Nim GC needs to know the stack
boundaries to check whether certain pointers are located on the stack
or in the heap. This commit adds godot_get_stack_bottom procedure
to gdnative module which returns pointer to the stack bottom of the
main thread. Later on this may be improved to return stack bottom of
the current thread.
2017-07-25 10:53:31 +07:00
5e1abaf348
[GDNative] basic OS detection
2017-07-24 22:43:32 +02:00
534d62d2f4
[GDNative] new GDNative API
...
This adds GDNative as a separate class type.
It can be used to interface with native libraries by
using "native calls", which can be registered by modules
(and in future other GDNative libraries?).
It also reworks the currently called "GDNativeScript" into a
"NativeScript" that just makes use of the new GDNative instead
of it being the component that implements that functionality.
2017-07-24 04:23:37 +02:00
af8a40e554
gdnative bug fix in get (return null check)
2017-07-22 06:39:03 +05:30
25678b1876
-Renamed GlobalConfig to ProjectSettings, makes more sense.
...
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
45b498c4e0
Merge pull request #9699 from RameshRavone/master
...
[gdnative] `Object::_get` return type and dynamic property
2017-07-19 13:07:06 +02:00
535290d2e7
[GDNative] dynamic properties
2017-07-19 05:41:56 +05:30
49c7620326
Add object type hint for docs
2017-07-19 02:03:34 +07:00
826c51c70e
_get return type fix
2017-07-18 21:09:46 +05:30
914a68723f
Expose Dictionary::next to GDNative
2017-07-15 23:02:19 +02:00
44ecfb028d
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
2017-07-03 16:29:03 -04:00
72bf46649e
Merge pull request #9360 from GodotExplorer/pr-external-editor-language-check
...
Better user experience with external text editors.
2017-06-27 08:15:54 +02:00
6687484958
Better user expirence with external text editors.
...
Implements open_in_external_editor for subclasses of ScriptLanguage.
Add option 'Debug with external editor' to debug menu to control the behavoir of script opened by editor.
2017-06-27 12:55:16 +08:00
3ce046ee0c
-Fixed SCREEN_TEXTURE and other related 2D shader parameters.
...
-Fixded BackBuffercopy object
2017-06-26 22:58:46 -03:00
de18b8ee96
[GDNative] added GDN_EXPORT macro for libraries
...
Up until now there only was GDAPI which was used
for the procedures Godot exposes.
2017-06-18 01:16:10 +02:00
f0cf946063
[GDNative] corrected typo for Mac library ext.
...
Seems like the extension is .dylib and not .dynlib.
This should make it easier to select files from the editor.
2017-06-16 15:48:05 +02:00
935f730170
renamed all Rect3.pos to Rect3.position
2017-06-09 15:54:02 +02:00
8ecdbfc417
[GDnative] API consistency + missing properties
2017-06-08 07:21:53 +02:00
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
4844013827
Fix GDNative PoolVector typos
2017-05-31 23:44:20 +02:00
9f34bb4ebe
Wrap copy constructor for some GDNative types
2017-05-31 00:03:50 +02:00
f23b56e3ec
[GDNative] fixed some functions that returned references
...
Those errors were introduced with #8821 (6fd217d ). These functions need to return reference types, otherwise setting values on those containers does not work.
2017-05-23 22:57:02 +02:00
abcb044bf3
Finish implementation of GDnative builtins bindings
2017-05-19 23:28:15 +02:00
c3baf5eb3c
Fix two typos from previous commit
...
Also cleanup comments on variant types.
2017-05-17 18:45:56 +02:00
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
11e496d99a
[GDNative] fixed a reload bug
...
When there was no terminate function defined in the library the exported variables would not update.
This fixes that.
2017-05-13 14:37:57 +02:00
d137e83c60
[GDNative] added varcall and print
2017-05-11 23:06:11 +02:00
99e07448d1
Add error printing functions to GDNative
2017-05-10 00:19:38 +02:00
32afcbc482
Put brave old bb10 platform to a well-deserved rest
...
Add some 🔥 to appease @reduz. Fixes #8692 .
2017-05-08 22:22:20 +02:00
a6e75c9437
[GDNative] fixed msvc build
2017-04-20 13:15:45 +02:00
d4f4f14c68
[GDNative] explicit calling convention
2017-04-19 15:51:33 +02:00
68d79b21c3
Merge pull request #8440 from karroffel/gdnative-new-method
...
[GDNative] added "new" method and fixed headers
2017-04-17 20:41:32 +02:00
a88c20f0ca
Merge pull request #8439 from touilleMan/correct_gdnative_signatures
...
Correct gdnative signatures
2017-04-17 19:55:42 +02:00
f4261c8868
[GDNative] added "new" method and fixed headers
2017-04-17 19:52:18 +02:00
e7134ce283
gdnative: Implement missing function for godot_basis.
2017-04-17 19:05:00 +02:00
707eedfa85
gdnative: modify vector2&vector3 functions signature to use value passing instead of ptr.
2017-04-17 16:43:43 +02:00