Commit Graph

12788 Commits

Author SHA1 Message Date
Bernhard Liebl
ec98e0b715 GDScript: always call ResourceLoader::load() in non-completion mode 2018-01-21 09:32:52 +01:00
Todd Ross
b57dcf446e clarify OS.execute usage, add examples 2018-01-20 18:36:00 -06:00
Emmanuel Leblond
9fba9e5465
Hide only PluginScript in dialog box 2018-01-21 00:43:57 +01:00
robfram
d588fe2740 Fix issue 15895, audio streams don't signalling finished after the first one
if the audio player is set to play again due to the order of calls in
_notification. First it emits the signal, and later it disable the internal
processing regardless what the callback did.

Changed to emit the signal at the end to ensure the changes done at callback
remains.
2018-01-20 22:22:00 +01:00
Juan Linietsky
c58891ff4c Allow shadowing class members with local variables in GDScript, closes #15896 2018-01-20 17:45:19 -03:00
Rémi Verschelde
8f8b032eed
Merge pull request #15905 from binbitten/fix-capture-win
Fix horizontal scroll for windows platform
2018-01-20 21:41:21 +01:00
binbitten
017a8521c0 Fix horizontal scroll for windows platform 2018-01-20 21:15:58 +01:00
karroffel
ac2a9bb267 add template argument for size in StringBuffer
Until now the pre-allocated array size was defined to be 64 without
a way of adjusting it from the calling side.

This commit adds the size as a template parameter.
2018-01-20 20:03:17 +01:00
Rémi Verschelde
00387cbe1b
Merge pull request #15898 from yurchor/patch-1
Fix minor typo: it's -> its
2018-01-20 19:27:49 +01:00
Yuri Chornoivan
17614f79ea
Fix minor typo: it's -> its 2018-01-20 20:18:43 +02:00
Leon Krause
f5234e70be
Merge pull request #15887 from x1212/html_change_tc_standard_to_s3tc
HTML export: Make s3tc the standard Texture Format
2018-01-20 15:46:27 +01:00
Thomas Herzog
3cd5b1fec8
Merge pull request #15891 from karroffel/stringbuilder-fix-crash
fixed crash with StringBuilder
2018-01-20 15:28:43 +01:00
karroffel
30822e8ab7 fixed crash with StringBuilder
When using a newly created StringBuilder then the as_string() method
will crash when trying to free an allocated 0-sized chunk of memory.

When 0 bytes get allocated with memnew_arr then a NULL pointer gets
returned. When trying to free that pointer the programm will crash.
2018-01-20 15:26:58 +01:00
x1212
eec2218e7c HTML export: Make s3tc the standard Texture Format 2018-01-20 15:20:26 +01:00
Rémi Verschelde
09732a15a5 i18n: Sync translation templates with current source 2018-01-20 10:10:49 +01:00
Rémi Verschelde
1f70ba5bd9 i18n: Sync translations with Weblate
Adds Romanian translation.
2018-01-20 10:10:00 +01:00
Guilherme Silva
9974e86904 Fix option run/output/always_open_output_on_play 2018-01-19 11:56:07 -02:00
Rémi Verschelde
eb9fa02fbd
Merge pull request #15850 from Anutrix/master
Added description to dedent in String.xml
2018-01-19 12:13:04 +01:00
Anutrix
6d4c6449f4 Added description to dedent in String.xml 2018-01-19 15:57:38 +05:30
Rémi Verschelde
a15f60d212
Merge pull request #15863 from touilleMan/fix-pluginscript-crash-in-dialog-box
Hide Script nodes in dialog box to prevent crash with pluginscript
2018-01-19 10:19:13 +01:00
Emmanuel Leblond
431ecc2061
Hide Script nodes in dialog box to prevent crash with pluginscript 2018-01-19 09:55:52 +01:00
Rémi Verschelde
fe2932a969
Merge pull request #15861 from poke1024/macos-keybuffer
On macOS, prevent key_event_buffer overflows
2018-01-19 09:12:18 +01:00
Rémi Verschelde
76bff3ef6e Bump version to 3.0-rc2
Dr. Freeman, we're coming for you!
2018-01-19 08:51:45 +01:00
Bernhard Liebl
2419ffd428 On macOS, prevent key_event_buffer overflows 2018-01-19 08:47:30 +01:00
Rémi Verschelde
0a469fc8ce
Merge pull request #15858 from willnationsdev/vs-hpp-support
Allow VS to include .hpp files in scons builds
2018-01-19 08:28:38 +01:00
Rémi Verschelde
1f1a38b5ec
Merge pull request #15856 from Noshyaar/indent
SCsub: fix mixed indentation
2018-01-19 08:27:55 +01:00
Will Nations
a025ca5fc6 Include .hpp files in VS scons builds. Fixed Typo. 2018-01-18 22:16:11 -06:00
Poommetee Ketson
d7e07fb25a
Merge pull request #15857 from YeldhamDev/find_last_doc
[DOCS] Fixed incorrect information inside String's "find_last" method

[ci skip]
2018-01-19 10:22:21 +07:00
Michael Alexsander Silva Dias
d8f6acee4b [DOCS] Fixed incorrect information inside String's "find_last" method. 2018-01-19 00:10:33 -02:00
Poommetee Ketson
225dbe9289 SCsub: fix mixed indentation 2018-01-19 07:35:02 +07:00
Ariel Manzur
9d98e6d2e4 adding option to split modules library 2018-01-18 21:27:57 -03:00
Rémi Verschelde
0359fed313
Merge pull request #15849 from poke1024/preload-completion
GDScript: fix autocompletion for preload() (issue 15766)
2018-01-18 23:21:41 +01:00
Ariel Manzur
e2b50e1abb improves portability with some compilers 2018-01-18 19:16:34 -03:00
Juan Linietsky
7369b0075e
Merge pull request #15851 from poke1024/preload-warnings
Suppress errors on autocompletion for preload()
2018-01-18 19:15:05 -03:00
Rémi Verschelde
598724c043 Remove obsolete Viewport _update_rect() code 2018-01-18 22:37:45 +01:00
Bernhard Liebl
67ae443c56 Suppress errors on autocompletion for preload() 2018-01-18 22:29:45 +01:00
Rémi Verschelde
9f479f096c Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Bernhard Liebl
ae4cd5b6da GDScript: fix autocompletion for preload() (issue 15766) 2018-01-18 19:37:21 +01:00
Rémi Verschelde
a1c08b7109
Merge pull request #15848 from binbitten/fix-viewport-bg
Fix wrong viewport transparent-bg
2018-01-18 19:29:24 +01:00
Rémi Verschelde
f2a26fba96
Merge pull request #15845 from Anutrix/master
Added description to get_collision_mask_bit and set_collision_mask_bit in RayCast2D.xml
2018-01-18 19:13:23 +01:00
Abhas Kumar Sinha
1a1303a948 Update MultiMeshInstance and WorldEnvironment documentation
With some edits by @akien-mga.
2018-01-18 19:11:33 +01:00
binbitten
bccb4840c8 Fix wrong viewport transparent-bg 2018-01-18 19:11:07 +01:00
Anutrix
0ec8f4c06b Added description to get_collision_mask_bit and set_collision_mask_bit in RayCast2D.xml 2018-01-18 23:14:31 +05:30
Rémi Verschelde
b597d1a1c7
Merge pull request #15842 from binbitten/tex-conv-rgb10a2
Convert special case RGB10_A2 to RGBA8 when obtaining texture data
2018-01-18 18:39:43 +01:00
letheed
37c4bc64de Make cyclic resource inclusion error message more helpful 2018-01-18 18:35:24 +01:00
Juan Linietsky
cc8dfcc9c0 Before I forget, add warnings on areas without children (should not break anything).
Seen too many users misunderstanding the edit rect is the shape.
2018-01-18 14:31:07 -03:00
Rémi Verschelde
b3c66de27f
Merge pull request #15843 from ianb96/fold_mouse_ofs_fix
TextEdit fix get_mouse after many folds
2018-01-18 18:30:50 +01:00
Rémi Verschelde
05e4303e1d
Merge pull request #15837 from KellyThomas/patch-2
remove usage of C#7 in DebuggingUtils.cs for compatibility with 2015 Build Tools
2018-01-18 18:21:39 +01:00
Ian
1b837125ce TextEdit fix get_mouse after many folds 2018-01-18 12:18:06 -05:00
binbitten
92473a9e9e Convert special case RGB10_A2 to RGBA8 when obtaining texture data 2018-01-18 18:05:01 +01:00