Ruslan Mustakov
7f32023a1a
Support multithreading for NativeScriptLanguage
...
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-26 19:39:10 +07:00
Rémi Verschelde
f55211ae0d
Merge pull request #9823 from BastiaanOlij/ios_fix_framebuffer_order
...
Fixed setting our system_fbo framebuffer
2017-07-26 07:51:20 +02:00
Rémi Verschelde
8e87d2e32f
Merge pull request #9858 from GodotExplorer/pr-fix-texture-button-resize-mode
...
Fix the resize mode of TextureButton for resource saving
2017-07-26 07:48:09 +02:00
Geequlim
407c082810
Fix the resize mode of TextureButton cannot be saved into resource files.
2017-07-26 13:39:14 +08:00
Rémi Verschelde
edacc986d6
Merge pull request #9857 from marcelofg55/master
...
Fix cvs files freezing the editor when a double quote is not closed
2017-07-26 07:36:18 +02:00
Juan Linietsky
f5277e347d
Fixes to glow and auto exposure, closes #9797 , closes #9106
2017-07-26 00:40:32 -03:00
Marcelo Fernandez
2144093fe6
Fix cvs files freezing the editor when a double quote is not closed
2017-07-25 22:38:28 -03:00
Thomas Herzog
d2d48e2a7a
Merge pull request #9855 from sheepandshepherd/nativesetter
...
Fix typo in NativeScript property getter
2017-07-25 23:12:08 +02:00
sheepandshepherd
bdf2e8c615
Fix typo in NativeScript property getter
2017-07-25 23:03:39 +02:00
Rémi Verschelde
be5adec286
Temporarily disable the Asset Library
...
Currently it features only plugins for Godot 2.1.x, we need #7147 fixed
to be able to propose only 3.0-compatible plugins in the Asset Library.
2017-07-25 22:29:42 +02:00
Rémi Verschelde
b6665c6c93
Merge pull request #9690 from 648trindade/classref-edit
...
Improved math functions descriptions and added many AStar descriptions
2017-07-25 21:08:34 +02:00
Rémi Verschelde
a931052c79
Merge pull request #9731 from Xrayez/gdscript-completion
...
Update GDScript completion names for Pool*Arrays
2017-07-25 21:05:42 +02:00
Rémi Verschelde
e4fe194fe5
Add newline after config_version and fix custom_features hint
...
Fixes #9818 .
2017-07-25 21:02:38 +02:00
Rémi Verschelde
9f768cb519
Make MinGW test less verbose on non-Bash shells
...
The &> construct seems to be Bash-specific.
Supersedes #9755 .
2017-07-25 20:44:44 +02:00
Rémi Verschelde
4fc60d4176
Merge pull request #9845 from kubecz3k/more-plugin-docs
...
documentation for EditorPlugin and ScriptEditor
2017-07-25 20:30:10 +02:00
Rémi Verschelde
a12fa5b879
Merge pull request #9847 from vnen/patch-zstd
...
zstd: Apply upstream patch to fix UWP ARM build
2017-07-25 20:27:58 +02:00
Rémi Verschelde
ee7188fe56
Merge pull request #9846 from karroffel/im-the-keyword-repair-man
...
fix a regression (GDScript) from e00630b
2017-07-25 20:27:38 +02:00
Karroffel
5319098aef
fix a regression (GDScript) from e00630b
...
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-25 20:01:19 +02:00
George Marques
9db39d72fa
zstd: Apply upstream patch to fix UWP ARM build
...
Following upstream commit f04deff4fc
2017-07-25 14:52:14 -03:00
Thomas Herzog
497411aa12
Merge pull request #9844 from karroffel/nativescript-double-init-fix
...
[NativeScript] fix double initialization in editor
2017-07-25 18:42:18 +02:00
Jakub Grzesik
d3d4ad193e
documentation for EditorPlugin and ScriptEditor
2017-07-25 18:27:42 +02:00
Karroffel
cdf1212bee
[NativeScript] fix double initialization in editor
2017-07-25 18:18:36 +02:00
Juan Linietsky
47b2455a62
Good bye chunky fonts, closes #9441
2017-07-25 09:29:27 -03:00
Rémi Verschelde
d94ac4b949
Merge pull request #9837 from Noshyaar/pr-about
...
Label: update minimum size when regenerating wordcache
2017-07-25 14:18:38 +02:00
Poommetee Ketson
f471afa4a5
Label: update min size when regenerate wordcache
2017-07-25 17:06:16 +07:00
Rémi Verschelde
7cbe12725e
Merge pull request #9825 from RandomShaper/rename-android-define
...
Remove ANDROID define
2017-07-25 11:35:08 +02:00
Andrii Doroshenko (Xrayez)
72436956dd
Update GDScript completion names for Pool*Arrays
...
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-25 12:14:40 +03:00
Pedro J. Estébanez
6ea233434a
Remove ANDROID define
...
Fixes GDNative build error on Android.
It's also discouraged by Google to rely on it. In case someone needs to check, use ``__ANDROID__`` instead, provided by the very same compiler.
2017-07-25 11:08:52 +02:00
Rémi Verschelde
303370d03d
Merge pull request #9702 from groud/canvas_editor_update
...
[WIP] Canvas editor code clean-up (and improvements)
2017-07-25 08:40:39 +02:00
Rémi Verschelde
e00630bfca
Merge pull request #8217 from bojidar-bg/gdscript-fix-keyword-call
...
Make GDScript allow some keywords as identifiers
2017-07-25 08:18:10 +02:00
Rémi Verschelde
5a251d0d5c
Merge pull request #9833 from RandomShaper/fix-node-crash
...
Fix Node::move_child() crash if moving to the end plus one
2017-07-25 08:12:21 +02:00
Rémi Verschelde
f981829749
Merge pull request #9830 from RandomShaper/fix-9692
...
Fix crash in Space2DSW::test_body_motion()
2017-07-25 08:11:17 +02:00
Rémi Verschelde
233baf9208
Merge pull request #9827 from sowfelicity/master-clipboard
...
Workaround to allow pasting unicode characters from X selection.
2017-07-25 08:09:56 +02:00
Pedro J. Estébanez
6c1b7fd899
Fix Node::move_child() crash if moving to the end plus one
...
Fixes #9820 .
2017-07-25 05:20:30 +02:00
Pedro J. Estébanez
b4129df96c
Fix crash in Space2DSW::test_body_motion()
...
Fixes #9692 .
2017-07-25 03:57:11 +02:00
Jia Wang
2f5b7f8777
Workaround to allow pasting unicode characters from X selection.
...
Fixes #2491 .
Fixes #9787 .
2017-07-25 08:00:48 +08:00
BastiaanOlij
3bfdc583cb
Fixed setting our system_fbo framebuffer
2017-07-25 08:29:48 +10:00
Thomas Herzog
91bb4952e4
Merge pull request #9822 from karroffel/nativescript-doublefree
...
[NativeScript] bound ` to ClassDB
2017-07-25 00:27:21 +02:00
Karroffel
3f1e75e89c
[NativeScript] bound new
to ClassDB
2017-07-25 00:26:37 +02:00
Juan Linietsky
e15a0c5243
Merge pull request #9712 from BastiaanOlij/fix_checking_framebuffer
...
add missing framebuffer check
2017-07-24 18:37:14 -03:00
Rémi Verschelde
bf8119f966
Merge pull request #9746 from Noshyaar/label
...
Label: add auto_height
2017-07-24 23:05:05 +02:00
Thomas Herzog
4b3fd59951
Merge pull request #9821 from karroffel/nativescript-doublefree
...
[GDNative] basic OS detection
2017-07-24 22:48:04 +02:00
Karroffel
5e1abaf348
[GDNative] basic OS detection
2017-07-24 22:43:32 +02:00
Rémi Verschelde
0a74fb625e
Merge pull request #9791 from bojidar-bg/6087-add-global-local-conv
...
Add .to_local/.to_global methods on Node2D and Spatial
2017-07-24 22:24:34 +02:00
Rémi Verschelde
e6336a52a8
Merge pull request #9808 from MednauN/master
...
Fix switching SRGB extension happen before binding of texture
2017-07-24 22:22:06 +02:00
Rémi Verschelde
95c49b61b5
Merge pull request #9819 from kubecz3k/collisionobj-shape-api
...
expose missing CollisionShape API for CollisionObject
2017-07-24 22:13:27 +02:00
Jakub Grzesik
567cbfcceb
expose missing CollisionShape API for CollisionObject
2017-07-24 20:29:49 +02:00
Thomas Herzog
be578a1b3e
Merge pull request #9817 from RameshRavone/patch-2
...
GDNative register_property
2017-07-24 20:09:26 +02:00
Ramesh Ravone
75b66146ae
GDNative register_property
2017-07-24 22:30:07 +05:30
Thomas Herzog
008b20bd8f
Merge pull request #9814 from karroffel/nativescript-doublefree
...
[NativeScript] forgot to uncomment userdata return
2017-07-24 17:25:57 +02:00