aboutsummaryrefslogtreecommitdiff
path: root/modules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #10179 from marcelofg55/masterRémi Verschelde2017-08-111-2/+2
|\ | | | | Fix crash when running a game with the profiler enabled
| * Fix crash when running a game with the profiler enabledMarcelo Fernandez2017-08-081-2/+2
| |
* | Merge pull request #10202 from neikeq/how-do-you-turn-this-onRémi Verschelde2017-08-117-23/+23
|\ \ | | | | | | Improves method bind's detecting of signarute types
| * | Fixes method definitions with extra number of argumentsIgnacio Etcheverry2017-08-101-2/+2
| | |
| * | Removes type information from method bindsIgnacio Etcheverry2017-08-107-20/+20
| | |
| * | Adds missing type information to virtual method bindsIgnacio Etcheverry2017-08-101-1/+1
| | |
* | | Merge pull request #10206 from endragor/show-base-nativescript-propsThomas Herzog2017-08-091-7/+5
|\ \ \ | | | | | | | | Allow to edit base type NativeScript properties
| * | | Allow to edit base type NativeScript propertiesRuslan Mustakov2017-08-091-7/+5
| |/ /
* / / Fix getting default values for NativeScript base type propertiesRuslan Mustakov2017-08-091-5/+5
|/ /
* | Merge pull request #9633 from ducdetronquito/gdnative_string_apiThomas Herzog2017-08-092-3/+1305
|\ \ | |/ |/| [GDNative] Implement String API.
| * Implemented String C API.ducdetronquito2017-08-082-3/+1305
| |
* | Ability to set a function as sequenced, so when called you can choose not to ↵Juan Linietsky2017-08-083-12/+55
| | | | | | | | use sequence ports. Fixes #6346
* | push variable later when created, to avoid self-referencing as a valid case, ↵Juan Linietsky2017-08-081-2/+5
| | | | | | | | closes #6111
* | Properly rename visual script functions, fixed #6076Juan Linietsky2017-08-081-2/+14
|/
* Implement len() gdscript built-in function for python users, closes #1960Juan Linietsky2017-08-072-0/+64
|
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-0711-35/+35
|
* few bugs fixed thanks to explicit bool constructor and clang.Juan Linietsky2017-08-051-1/+1
| | | | explicit bool constructor has thus now been removed, as it served it's mission!
* [GDNative] fixed double variant callKarroffel2017-08-061-1/+0
| | | | This bug got discovered thanks to clang!
* renamed node path, closes #5691Juan Linietsky2017-08-051-1/+1
|
* Dont call nativescript callbacks if lib is not initializedRuslan Mustakov2017-08-043-10/+17
|
* Merge pull request #10072 from karroffel/gdnative-header-include-pathsThomas Herzog2017-08-041-1/+2
|\ | | | | [GDNative] fixed a bug with ambiguous include paths
| * [GDNative] fixed a bug with ambiguous include pathsKarroffel2017-08-041-1/+2
| | | | | | | | | | fixes #10071. The problem is that the json.h file includes the local variant.h instead of the "absolute" core/variant.h
* | Merge pull request #10060 from endragor/nativescript-frameThomas Herzog2017-08-033-44/+32
|\ \ | |/ |/| Forward frame call to GDNative libraries
| * Forward frame call to GDNative librariesRuslan Mustakov2017-08-033-44/+32
| |
* | [GDNative/NativeScript] fix -rdynamic and removed _init callKarroffel2017-08-022-13/+6
| | | | | | | | | | | | | | | | | | | | 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.
* | [GDNative] better header include pathsKarroffel2017-08-0239-113/+137
|/ | | | | The old include paths caused some problems on some compilers, for example including "string.h" was ambiguous.
* Merge pull request #9964 from supagu/audio_fixRémi Verschelde2017-07-301-1/+1
|\ | | | | Fixed AudioStreamPlaybackOGGVorbis::_mix_internal getting stuck in in…
| * Fixed AudioStreamPlaybackOGGVorbis::_mix_internal getting stuck in infinite ↵Fabian Mathews2017-07-291-1/+1
| | | | | | | | loop causing audio to freeze
* | [NativeScript] fix signals from base class not being accessibleKarroffel2017-07-301-3/+7
| | | | | | | | https://github.com/GodotNativeTools/cpp_bindings/issues/26
* | Pass GDNativeLibrary pointer to library initRuslan Mustakov2017-07-282-0/+4
|/
* Merge pull request #9932 from djrm/vs_fixesRémi Verschelde2017-07-281-0/+10
|\ | | | | Do not allow multiple data connections to the same data input slot, f…
| * Do not allow multiple data connections to the same data input slot, fixes ↵Daniel J. Ramirez2017-07-271-0/+10
| | | | | | | | #6357.Improved curve rendering when nodes are close.
* | [NativeScript] fixed optional _init callKarroffel2017-07-271-18/+6
| | | | | | | | | | | | | | | | | | In 3c53b35 a call to an "_init" function was introduced, that however was only executed in the `_new` function, also it *required* that such a function exists. With this patch the "_init" function will be optionally called on every instance creation.
* | [NativeScript] fix mutex double lockKarroffel2017-07-271-1/+1
| | | | | | | | | | | | In 3c53b35 a bug got introduced where a mutex gets locked twice instead of locked and then unlocked. This path fixes that.
* | added an optional parameter to OS symbol lookupKarroffel2017-07-272-3/+6
| | | | | | | | | | | | | | | | 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.
* | [NativeScript] call _init on instance creationKarroffel2017-07-272-3/+45
| | | | | | | | | | This also adds basic locking for the set of owners to avoid threading problems
* | Merge pull request #9882 from endragor/nativescript-refcountThomas Herzog2017-07-262-0/+25
|\ \ | | | | | | Forward refcount changes to NativeScriptInstance
| * | Forward refcount changes to NativeScriptInstanceRuslan Mustakov2017-07-262-0/+25
| | | | | | | | | | | | | | | | | | This also changes Reference::unreference() to always invoke refcount_decremented. Previously it was not invoked until the count reached zero due to short-circuit evalution of boolean expressions.
* | | Merge pull request #9883 from bojidar-bg/8217-fixup-get_node-shortcutRémi Verschelde2017-07-261-1/+2
|\ \ \ | |_|/ |/| | Fix $a/b being parsed as division
| * | Fix $a/b being parsed as divisionBojidar Marinov2017-07-261-1/+2
| |/
* | Merge pull request #9867 from endragor/nativescript-threadingThomas Herzog2017-07-263-38/+211
|\ \ | | | | | | Support multithreading for NativeScriptLanguage
| * | Support multithreading for NativeScriptLanguageRuslan Mustakov2017-07-263-38/+211
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Godot may call property setters from non-main thread when an object is loaded in the edtior. This means NativeScriptLanguage could be accessed from different threads, but it was not designed for thread-safety. Besides, previous behaviour made it so that godot_nativescript_init and godot_gdnative_init could be invoked from non-main thread, while godot_gdnative_thread is always invoked on the main thread. This may not be expected by the binding library. This commit defers native library initialization to the main thread and adds godot_nativescript_thread_enter and godot_nativescript_thread_exit callbacks to make a binding library aware of foreign threads.
* | Merge pull request #9720 from endragor/stack-bottomThomas Herzog2017-07-262-0/+9
|\ \ | |/ |/| Add a way to retrieve stack bottom of the main thread
| * Add a way to retrieve stack bottom of the main threadRuslan Mustakov2017-07-252-0/+9
| | | | | | | | | | | | | | | | | | 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.
* | Fix typo in NativeScript property gettersheepandshepherd2017-07-251-1/+1
| |
* | Merge pull request #9731 from Xrayez/gdscript-completionRémi Verschelde2017-07-252-3/+3
|\ \ | | | | | | Update GDScript completion names for Pool*Arrays
| * | Update GDScript completion names for Pool*ArraysAndrii Doroshenko (Xrayez)2017-07-252-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notice: GDScript tokenizer used the old PoolFloatArray name. Renamed PoolFloatArray to PoolRealArray. Moved "project_settings.h" down one line to comply with the clang-format rules. Fixes #9638 Closed pull request #9714 because I messed up with commits, sorry!
* | | fix a regression (GDScript) from e00630bKarroffel2017-07-252-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This removes `not` from the variable safe list of keywords. Before that this was a valid expression: self.!(some_arg) The other fix is just a forgotten boolean negation.
* | | Merge pull request #9844 from karroffel/nativescript-double-init-fixThomas Herzog2017-07-252-2/+10
|\ \ \ | |/ / |/| | [NativeScript] fix double initialization in editor
| * | [NativeScript] fix double initialization in editorKarroffel2017-07-252-2/+10
| | |