Commit graph

12726 commits

Author SHA1 Message Date
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
Rémi Verschelde
d0d511b0f8
Merge pull request #15841 from karroffel/gdnative-more-fixes-hopefully
[GDNative] fix NativeScript false negative error
2018-01-18 16:15:46 +01:00
karroffel
69f33a9313 [GDNative] fix NativeScript false negative error 2018-01-18 16:00:38 +01:00
Rémi Verschelde
7b4e45b794
Merge pull request #15803 from Noshyaar/pm
ProjectManager: show error/warning by default
2018-01-18 14:30:18 +01:00
Rémi Verschelde
3c5762303f
Merge pull request #15835 from bruvzg/disable_non_empty_folder_np
Disallow creating new projects in a non-empty folder.
2018-01-18 14:27:45 +01:00
Rémi Verschelde
0550c7d9a7
Merge pull request #15836 from karroffel/gdnative-more-fixes-hopefully
[GDNative] fix #15723
2018-01-18 14:25:26 +01:00
Poommetee Ketson
61d1604da2 ProjectManager: show error/warning by default
Deprecate "That's a BINGO" message
2018-01-18 19:11:58 +07:00
Kelly Thomas
ed17b42654
remove c#7 features for compatibility with 2015 Build Tools
https://github.com/godotengine/godot/issues/15742
2018-01-18 19:43:23 +08:00
karroffel
9b96f87377 [GDNative] fix #15723 2018-01-18 12:04:34 +01:00
bruvzg
2317364ac6
Disallow creating new projects in a non-empty folder. 2018-01-18 12:29:31 +02:00
Rémi Verschelde
9d45b719d4
Merge pull request #15820 from paulloz/fix-csharp-call-with-object-return
Fix marshalling when a function is returning an object from c#
2018-01-18 11:23:50 +01:00
Paul Joannon
2dc6725cc4
remove an unneeded marshalling function
`Variant mono_object_to_variant(MonoObject*, const ManagedType&)`
2018-01-18 10:33:43 +01:00
Paul Joannon
1de5f7e70b
fix marshalling when a function is returning an object from c# 2018-01-18 10:31:36 +01:00