summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2017-07-28Merge pull request #9932 from djrm/vs_fixesRémi Verschelde
Do not allow multiple data connections to the same data input slot, f…
2017-07-27Do not allow multiple data connections to the same data input slot, fixes ↵Daniel J. Ramirez
#6357.Improved curve rendering when nodes are close.
2017-07-27[NativeScript] fixed optional _init callKarroffel
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.
2017-07-27[NativeScript] fix mutex double lockKarroffel
In 3c53b35 a bug got introduced where a mutex gets locked twice instead of locked and then unlocked. This path fixes that.
2017-07-27added an optional parameter to OS symbol lookupKarroffel
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[NativeScript] call _init on instance creationKarroffel
This also adds basic locking for the set of owners to avoid threading problems
2017-07-26Merge pull request #9882 from endragor/nativescript-refcountThomas Herzog
Forward refcount changes to NativeScriptInstance
2017-07-26Merge pull request #9883 from bojidar-bg/8217-fixup-get_node-shortcutRémi Verschelde
Fix $a/b being parsed as division
2017-07-26Fix $a/b being parsed as divisionBojidar Marinov
2017-07-26Forward refcount changes to NativeScriptInstanceRuslan Mustakov
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.
2017-07-26Merge pull request #9867 from endragor/nativescript-threadingThomas Herzog
Support multithreading for NativeScriptLanguage
2017-07-26Merge pull request #9720 from endragor/stack-bottomThomas Herzog
Add a way to retrieve stack bottom of the main thread
2017-07-26Support multithreading for NativeScriptLanguageRuslan Mustakov
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.
2017-07-25Fix typo in NativeScript property gettersheepandshepherd
2017-07-25Merge pull request #9731 from Xrayez/gdscript-completionRémi Verschelde
Update GDScript completion names for Pool*Arrays
2017-07-25fix a regression (GDScript) from e00630bKarroffel
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.
2017-07-25Merge pull request #9844 from karroffel/nativescript-double-init-fixThomas Herzog
[NativeScript] fix double initialization in editor
2017-07-25[NativeScript] fix double initialization in editorKarroffel
2017-07-25Update GDScript completion names for Pool*ArraysAndrii Doroshenko (Xrayez)
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!
2017-07-25Merge pull request #8217 from bojidar-bg/gdscript-fix-keyword-callRémi Verschelde
Make GDScript allow some keywords as identifiers
2017-07-25Add a way to retrieve stack bottom of the main threadRuslan Mustakov
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[NativeScript] bound `new` to ClassDBKarroffel
2017-07-24[GDNative] basic OS detectionKarroffel
2017-07-24GDNative register_propertyRamesh Ravone
2017-07-24Merge pull request #9814 from karroffel/nativescript-doublefreeThomas Herzog
[NativeScript] forgot to uncomment userdata return
2017-07-24[NativeScript] forgot to uncomment userdata returnKarroffel
2017-07-24Merge pull request #9809 from karroffel/nativescript-doublefreeThomas Herzog
[NativeScript] fix double free but on exit
2017-07-24[NativeScript] fix double free but on exitKarroffel
2017-07-24Merge pull request #9764 from Noshyaar/pr-fix2Rémi Verschelde
Add object type hint for docs
2017-07-24[GDNative] new GDNative APIKarroffel
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-23Make GDScript allow some keywords as identifiersBojidar Marinov
Fixes #8085 Added some comments around the use of is_token_literal, as discussed.
2017-07-23Add object type hint for docsPoommetee Ketson
2017-07-23Merge pull request #9765 from Noshyaar/pr-clangRémi Verschelde
Clang-formatting *.cpp and *.h (some files excluded)
2017-07-23Merge pull request #9758 from vnen/fix-vs-returnRémi Verschelde
VS: Fix return value for user-defined functions
2017-07-23Merge pull request #9741 from vnen/fix-vs-customnodeRémi Verschelde
Fix issues with custom nodes in visual script
2017-07-23Merge pull request #9706 from djrm/theme_fixesRémi Verschelde
Icons can now be added inside line edits (Search icon).
2017-07-22Clang-formatting *.cpp and *.h (some files excluded)Poommetee Ketson
2017-07-22VS: Fix return value for user-defined functionsGeorge Marques
2017-07-21Update a VS custom node when its script changesGeorge Marques
2017-07-22gdnative bug fix in get (return null check)Ramesh Ravone
2017-07-21Fix issues with custom nodes in visual scriptGeorge Marques
- Doesn't crash anymore. - Inputs are properly transferred.
2017-07-19-Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky
-Added system for feature overrides, it's pretty cool :)
2017-07-19Icons can now be added inside line edits (Search icon).Daniel J. Ramirez
Fixed window title bar margins. fixed compilation error
2017-07-19Merge pull request #9699 from RameshRavone/masterThomas Herzog
[gdnative] `Object::_get` return type and dynamic property
2017-07-19[GDNative] dynamic propertiesRamesh Ravone
2017-07-19Add object type hint for docsPoommetee Ketson
2017-07-18_get return type fixRamesh Ravone
2017-07-17-Reorganized all properties of project settings (Sorry, Again).Juan Linietsky
(Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-17Merge pull request #9652 from djrm/theme_fixesRémi Verschelde
Improvements and fixes for the default theme.
2017-07-16Improvements and fixes for the default theme.Daniel J. Ramirez
Added customizable border size and window highlight.