Commit graph

8034 commits

Author SHA1 Message Date
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
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
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
Juan Linietsky
85aa0adeef small grammar fix 2017-07-23 18:55:08 -03:00
Juan Linietsky
66009706c9 -Ability to set default import presets for type
-More presets for scene importer
-Option in scene importer to export root nodes as separate scenes
-Fixed MeshInstance preview
2017-07-23 18:50:25 -03:00
Bojidar Marinov
1936e1d2be
Make GDScript allow some keywords as identifiers
Fixes #8085
Added some comments around the use of is_token_literal, as discussed.
2017-07-23 23:34:31 +03:00
Rémi Verschelde
380eae2cc0 Merge pull request #9795 from marcelofg55/master
Fix Right-Click (Ctrl-Click) on OS X
2017-07-23 18:26:21 +02:00
Rémi Verschelde
380e2b9692 Merge pull request #9794 from Noshyaar/pr-impd
Suppress get_edited_scene_root error
2017-07-23 18:23:06 +02:00
Marcelo Fernandez
2c27501c3f Fix Right-Click (Ctrl-Click) on OS X 2017-07-23 12:45:59 -03:00
Juan Linietsky
cf286ed287 Requesting for dictionary keys also respects insertion order, closes #9161 2017-07-23 12:24:03 -03:00
Poommetee Ketson
a572eb6453 Suppress get_edited_scene_root error 2017-07-23 22:11:34 +07:00
Thomas Herzog
9e483604a5 Merge pull request #9718 from endragor/ptrcall-fixes
Use specific size for numeric types in ptrcall
2017-07-23 16:35:10 +02:00
Poommetee Ketson
2777f81d29 Add object type hint for docs 2017-07-23 18:57:03 +07:00
Bojidar Marinov
140f189a65
Add .to_local/.to_global methods on Node2D and Spatial
Those are just helpers around get_global_transform().affine_inverse().xform() and get_global_transform().xform().
Closes #6087
2017-07-23 14:37:26 +03:00
Rémi Verschelde
38c471bef6 Merge pull request #9765 from Noshyaar/pr-clang
Clang-formatting *.cpp and *.h (some files excluded)
2017-07-23 13:16:48 +02:00
Rémi Verschelde
21497bd501 Merge pull request #9790 from Noshyaar/pr-req
EditorNode: request_attn when behind other windows
2017-07-23 13:15:52 +02:00
Rémi Verschelde
bde84112d8 Merge pull request #9788 from Zylann/freelook_modifier
Added configurable modifier key to activate freelook
2017-07-23 13:15:46 +02:00
Rémi Verschelde
e286782e60 Merge pull request #9776 from Noshyaar/pr-sprite
Sprite: fix disconnect nonexistent signal
2017-07-23 13:14:14 +02:00
Rémi Verschelde
5396c7be31 Merge pull request #9774 from Noshyaar/pr-about
Move About dialog to editor_about.cpp
2017-07-23 13:14:04 +02:00
Rémi Verschelde
537cd79fc8 Merge pull request #9773 from Noshyaar/pr-tabs
Tabs: expose tab_close_display_policy property
2017-07-23 13:13:53 +02:00