Commit Graph

8073 Commits

Author SHA1 Message Date
Pedro J. Estébanez
748240b090 Fix misplaced quote in error messsage 2017-07-27 01:26:30 +02:00
Thomas Herzog
2b99bd492b Merge pull request #9867 from endragor/nativescript-threading
Support multithreading for NativeScriptLanguage
2017-07-26 16:01:43 +02:00
Thomas Herzog
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
Rémi Verschelde
668f4f437f Merge pull request #9873 from Noshyaar/pr-prop
Fix various property not found errors
2017-07-26 15:20:15 +02:00
Poommetee Ketson
0154098531 Fix various property not found errors 2017-07-26 20:03:13 +07:00
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
ccb17c2b27 Merge pull request #9868 from StraToN/docs403-extends-is
Corrects usage of 'is' instead of 'extends' for testing node inheritance

[ci skip]
2017-07-26 13:29:58 +02:00
Julian Murgia
61572a57e9 Corrects usage of 'is' instead of 'extends' for testing node inheritance. 2017-07-26 13:12:44 +02:00
Rémi Verschelde
5c3f05a680 Merge pull request #9862 from ISylvox/tagents-to-tangents
Renames tagents to tangents
2017-07-26 10:46:48 +02:00
ISylvox
cefc02a4f9 tagents --> tangents 2017-07-26 15:14:52 +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
Ruslan Mustakov
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
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