Commit graph

8732 commits

Author SHA1 Message Date
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
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
Rémi Verschelde
56724dc07b Merge pull request #9772 from Noshyaar/pr-classxml
Docs: fix broken ref tags
2017-07-23 13:13:29 +02:00
Rémi Verschelde
72ef23d087 Merge pull request #9771 from Noshyaar/pr-rst
Docs: ignore tags inside code,codeblock tag
2017-07-23 13:13:20 +02:00
Rémi Verschelde
401f1098f6 Merge pull request #9770 from eska014/html5-focus
Implement input focus behavior in HTML5
2017-07-23 13:13:09 +02:00
Rémi Verschelde
ba7fdcfd02 Merge pull request #9762 from Paulb23/_scipt_close_tab_selection_issue_8400
Fixed script tab selection on file close, issue 8400
2017-07-23 13:09:59 +02:00
Rémi Verschelde
50ab88bf15 Merge pull request #9761 from Noshyaar/pr-fix
ScriptEditor: suppress get_child errors
2017-07-23 13:09:47 +02:00
Rémi Verschelde
5fbe4c130d Merge pull request #9758 from vnen/fix-vs-return
VS: Fix return value for user-defined functions
2017-07-23 13:09:12 +02:00