Commit graph

8454 commits

Author SHA1 Message Date
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
Pedro J. Estébanez
f78299c81b Add support for ARMv8 (64-bit) on Android 2017-07-25 12:28:46 +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
ac2c5e8dcd Add missing initializers 2017-07-25 04:45:01 +02:00
Pedro J. Estébanez
bc1d58c50d Extend check for same space to all 2D/3D bodies/shapes 2017-07-25 04:45:01 +02:00
Pedro J. Estébanez
507b48179f Fix 2D broadphase remove-while-iterating logic 2017-07-25 04:45:01 +02:00
Pedro J. Estébanez
fa1049b46b Fix early-accepting area-area match when masks don't match 2017-07-25 04:45:01 +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
Pedro J. Estébanez
27637b9e7f Improve/add atomics
- Remove use of non-builtin overloaded `InterlockedExhangeSubtract()` for Windows. Moreover, it was wrongly being used as if it hadn't a 64-bit version instead of being overloaded.
- Implement exchange-if-greater (as a CAS loop).
2017-07-25 01:49:22 +02: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
Karroffel
41eb8a0279 [NativeScript] forgot to uncomment userdata return 2017-07-24 16:36:26 +02:00
Thomas Herzog
d0f1940534 Merge pull request #9809 from karroffel/nativescript-doublefree
[NativeScript] fix double free but on exit
2017-07-24 14:37:39 +02:00
Karroffel
a1a76bbde4 [NativeScript] fix double free but on exit 2017-07-24 14:07:39 +02:00
Evgeny Zuev
4ed6e4a70e Fix switching SRGB extension happen before binding of texture
Previously, texture parameter `_TEXTURE_SRGB_DECODE_EXT` was changed
before the call of `glBindTexture`, which caused modification of previously
bound texture instead of desired one. Now it's changed after `glBindTexture`.
2017-07-24 18:25:55 +07:00
Rémi Verschelde
042bfabd8f Merge pull request #9807 from Noshyaar/pr-df
EditorNode: fix missing distraction-free tooltip
2017-07-24 08:30:13 +02:00
Poommetee Ketson
24329155eb EditorNode: fix missing distraction-free tooltip 2017-07-24 13:07:53 +07:00
Rémi Verschelde
374cffaa11 Merge pull request #9764 from Noshyaar/pr-fix2
Add object type hint for docs
2017-07-24 08:07:32 +02:00
Rémi Verschelde
574ec97b8b Merge pull request #9802 from vnen/fix-uwp-build
UWP: Fix build issue caused by atomic operations
2017-07-24 08:07:08 +02:00
Thomas Herzog
b31973b64d Merge pull request #9804 from karroffel/gdnative-rewrite
[GDNative] new GDNative API
2017-07-24 04:51:34 +02:00
Karroffel
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
George Marques
f514fabf61
UWP: Fix build issue caused by atomic operations 2017-07-23 21:29:01 -03:00