Commit graph

8313 commits

Author SHA1 Message Date
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
Rémi Verschelde
c669107626 Merge pull request #9741 from vnen/fix-vs-customnode
Fix issues with custom nodes in visual script
2017-07-23 13:06:03 +02:00
Rémi Verschelde
e5aa8546ec Merge pull request #9713 from marcelofg55/master
Fix for possible crash in OS X audio init.
2017-07-23 13:05:49 +02:00
Rémi Verschelde
e3aa9b5191 Merge pull request #9706 from djrm/theme_fixes
Icons can now be added inside line edits (Search icon).
2017-07-23 13:03:53 +02:00
Rémi Verschelde
542d8b5d50 Merge pull request #9684 from eska014/html5-msvc
Fix building HTML5 when cmd.exe is set up for MSVC
2017-07-23 13:03:40 +02:00
Rémi Verschelde
5c05388919 Merge pull request #9785 from vnen/update-zstd
zstd: Update to upstream version 1.3.0
2017-07-23 12:51:57 +02:00
Poommetee Ketson
3ec47b4c6e Tabs: expose tab_close_display_policy property 2017-07-23 16:12:19 +07:00
Poommetee Ketson
7b1e15b88c EditorNode: request_attn when behind other windows
The current version requests attention only when minimized
which might not work as expected when it's not minimized
but doesn't have focus.
2017-07-23 14:36:38 +07:00
Marc Gilleron
9d970b11ae Added configurable modifier key to activate freelook 2017-07-23 02:13:08 +02:00
George Marques
2c1764d5a9
zstd: Update to upstream version 1.3.0 2017-07-22 18:46:05 -03:00
L. Krause
aa798ebf8f Fix atomic operations in NO_THREADS builds 2017-07-22 22:06:01 +02:00
Juan Linietsky
3b2dfae5af function to add script and instance at once, as needed by neikeq 2017-07-22 16:57:56 -03:00
Juan Linietsky
0ad1a8f3d0 Script languges are uninitialized properly now. 2017-07-22 16:11:56 -03:00
Thomas Herzog
c74a3275dc Merge pull request #9757 from RameshRavone/patch-1
gdnative bug fix in get (return null check)
2017-07-22 21:06:16 +02:00
Poommetee Ketson
49331fbd63 Sprite: fix disconnect nonexistent signal 2017-07-23 01:02:33 +07:00
Poommetee Ketson
20d36bf226 Move About dialog to editor_about.cpp 2017-07-23 00:14:44 +07:00
Juan Linietsky
772485cdb3 Several changes to better run in mobile. 2017-07-22 14:08:17 -03:00
Rémi Verschelde
492999a33b libpng: Update to upstream version 1.6.31rc01
Fixes various issues with 1.6.30, especially ARM build.
Supersedes change in #9722.
2017-07-22 18:42:20 +02:00
L. Krause
ca28c068c0 Implement input focus behavior in HTML5
- Key and mouse events are only consumed if canvas is focused
 - NOTIFICATION_WM_MOUSE_ENTER, _MOUSE_EXIT, _FOCUS_IN and _FOCUS_OUT are
   emitted
2017-07-22 17:25:15 +02:00