Rémi Verschelde
4998983bd5
Merge pull request #35199 from dalexeev/master
...
Fix function arguments hint format in GDScript editor
2020-01-16 15:53:28 +01:00
Rémi Verschelde
df13245408
Merge pull request #35203 from timothyqiu/image-loader-null
...
Adds null check before using image loader
2020-01-16 15:51:46 +01:00
Rémi Verschelde
cd7b51b943
Merge pull request #35102 from ChibiDenDen/reuse_orphaned_subclass
...
#34161 : Keep a weak reference to orphan subclasses to reuse on class reload
2020-01-16 15:49:52 +01:00
Bojidar Marinov
dc4455d819
Validate instances of objects before trying to check their type in GDScript
...
Fixes #27582
2020-01-16 16:39:59 +02:00
Rémi Verschelde
9986f3804c
Merge pull request #35198 from bojidar-bg/27575-poolarrayexport-default
...
Fix slight problems related to default values of exported typed arrays
2020-01-16 14:58:06 +01:00
Haoyu Qiu
92b36d4706
Adds NULL check before using image loader
2020-01-16 21:49:23 +08:00
Rémi Verschelde
bc34794840
Merge pull request #34091 from andrycodestuffs/master
...
Fixed unknown ASCII symbols rendered instead of tabs in bookmarks list
2020-01-16 14:11:28 +01:00
Rémi Verschelde
bb024ba9a8
Merge pull request #35197 from asynts/asynts.disable-connect-button
...
Refactor (and fix) how the connect button is disabled.
2020-01-16 14:11:19 +01:00
andrycodestuffs
d0b3cb89f7
Fixed unknown symbol drawn instead of tabs in breakpoints/bookmarks lists
...
Tab characters were not rendered properly in the breakpoints and
bookmarks lists of the script editor if the bookmarked line was a
comment, resulting in unknown ASCII symbols “�”.
Fixes #34046 .
Also changed formatting a bit to enclose the code in backticks (like in
Markdown) instead of quotes.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-01-16 13:50:30 +01:00
Bojidar Marinov
19ce2d5159
Fix slight problems related to default values of exported typed arrays
2020-01-16 14:50:29 +02:00
Danil Alexeev
45b510b332
Fix function arguments hint format in GDScript editor
...
for consistency with the format of the documentation:
"type func_name(arg1: type, arg2: type)"
2020-01-16 15:41:02 +03:00
Rémi Verschelde
cd8cafc385
Merge pull request #35196 from akien-mga/dead-warnings-tell-no-tales
...
Travis: Disable -Wstrict-aliasing warning on GCC 5 test build
2020-01-16 13:22:45 +01:00
Rémi Verschelde
e329cd6005
Merge pull request #35189 from Chaosus/disable_gles2_array_init
...
Disabled array initialization, const array and arr.length in GLES2 shaders
2020-01-16 12:54:06 +01:00
Rémi Verschelde
9ef0e06781
Travis: Disable -Wstrict-aliasing warning on GCC 5 test build
...
Should speed up builds by avoiding warning spam.
This warning is no longer raised by newer GCC versions.
2020-01-16 12:38:06 +01:00
asynts
e564b4fd07
Refactor (and fix) how the connect button is disabled.
...
It should not be possible to click the "Connect" button unless
- a node is selected, and
- that node is valid in the current mode.
The modes are the default and advanced modes which allow connecting to scripts
and nodes respectively.
2020-01-16 12:35:41 +01:00
Rémi Verschelde
fc2550c4c8
Merge pull request #35123 from asynts/asynts.crash-on-double-click
...
Prevent crash described in #34555 .
2020-01-16 12:32:52 +01:00
Rémi Verschelde
6135037551
Merge pull request #35193 from akien-mga/i-live-in-the-void
...
MinGW: Avoid GCC -Wcast-function-type warnings on GetProcAddress
2020-01-16 12:24:44 +01:00
Rémi Verschelde
e33914e0c1
MinGW: Avoid GCC -Wcast-function-type warnings on GetProcAddress
...
Using the same method as GNUlib and various other projects.
https://lists.gnu.org/archive/html/bug-gnulib/2018-08/msg00109.html
The warning is valid, but there's no way around it since the issue
comes from the Windows SDK. It's also harmless in this case.
Part of #29801 .
2020-01-16 12:10:25 +01:00
Rémi Verschelde
a2c90fe2f3
Merge pull request #35190 from akien-mga/im-in-love-with-the-shape-of-ueicbksjdhd
...
Validate input in (CPU)Particles set_emission_shape()
2020-01-16 11:34:20 +01:00
Rémi Verschelde
1de633205f
Validate input in (CPU)Particles set_emission_shape()
...
Fixes #29777 .
Co-authored-by: Cameron Reikes <cameronreikes@gmail.com>
2020-01-16 11:08:51 +01:00
Yuri Roubinsky
5098232ee6
Disabled array initialization, const array and arr.length in shaders
2020-01-16 11:46:11 +03:00
Rémi Verschelde
3af0400a32
Merge pull request #35176 from clayjohn/csg-crash
...
Fix light related crashes
2020-01-16 08:03:56 +01:00
Rémi Verschelde
bd1a8aacda
Merge pull request #35187 from aaronfranke/editor-property-int
...
Use int64_t for EditorPropertyInteger and warn when out of double range
2020-01-16 08:01:03 +01:00
Rémi Verschelde
dd3779c12e
Merge pull request #35183 from YeldhamDev/scrollbar_regression
...
Fix scrollbar regression on large scales
2020-01-16 07:56:05 +01:00
Rémi Verschelde
2e66de0da9
Merge pull request #35180 from timothyqiu/scroll-container-min-size
...
Updates ScrollContainer min size when toggle scrollbars
2020-01-16 07:53:02 +01:00
Rémi Verschelde
b43101aae1
Merge pull request #35169 from hoontee/master
...
Fix Vsync Via Compositor causing halved refresh rate when vsync is forced by the graphics driver
2020-01-16 07:52:14 +01:00
Rémi Verschelde
318445c548
Merge pull request #35178 from clayjohn/GLES2-fix-lightmap
...
Fix array constructor for lightmaps
2020-01-16 07:47:49 +01:00
Rémi Verschelde
f9cb219c2f
Merge pull request #35175 from clayjohn/GLES2-bg-keep
...
Add background mode keep to GLES2
2020-01-16 07:16:41 +01:00
clayjohn
f1d0c391c7
fix light related crashes
2020-01-15 21:40:05 -08:00
Aaron Franke
5e1dad3b28
Use int64_t for EditorPropertyInteger and warn when out of double range
2020-01-15 23:39:49 -05:00
Michael Alexsander
76e03f9b4d
Fix scrollbar regression on large scales
2020-01-16 00:59:46 -03:00
Haoyu Qiu
574918f344
Updates ScrollContainer min size when toggle scrollbars
2020-01-16 09:42:31 +08:00
clayjohn
910f8719a0
Fix array constructor for lightmaps
2020-01-15 17:41:46 -08:00
Ignacio Roldán Etcheverry
e889100f2f
Merge pull request #35170 from neikeq/issue-35151
...
Mono/C#: Fix false positive in unsafe reference checks
2020-01-16 01:41:12 +01:00
clayjohn
a345088433
Add background mode keep to GLES2
2020-01-15 15:59:00 -08:00
Ignacio Etcheverry
1a40f250bd
Mono/C#: Fix false positive in unsafe reference checks
2020-01-15 23:46:42 +01:00
hoontee
c08d8feead
Fix Vsync Via Compositor causing halved refresh rate when vsync is forced by the graphics driver
...
Add check to prevent compositor sync if the graphics driver is forcing vsync.
Fixes #35038 .
(Addendum: this PR does not negatively impact users unaffected by #35038.)
2020-01-15 16:04:23 -06:00
Rémi Verschelde
f2d45676c9
Merge pull request #35165 from groud/fix_memleak_filesystemdock
...
Fixes a memory leak in FileSystemDock
2020-01-15 22:58:57 +01:00
Rémi Verschelde
605723ec4a
Merge pull request #35166 from Calinou/add-ogg-sample-icon
...
Add an icon for OGG samples
2020-01-15 22:58:18 +01:00
Hugo Locurcio
1339a5c1cb
Add an icon for OGG samples
...
The icon is the same as WAV samples, as both formats are accepted
in AudioStreamPlayer.
This closes #35163 .
2020-01-15 22:32:08 +01:00
ChibiDenDen
86aa12e806
Keep a weak reference to orphan subclasses to reuse on class reload
2020-01-15 22:54:01 +02:00
Gilles Roudière
76d87e6616
Fixes a memory leak in FileSystemDock
...
Co-authored-by: Rafał Mikrut <mikrutrafal54@gmail.com>
2020-01-15 21:45:13 +01:00
Rémi Verschelde
5f99e3396f
Merge pull request #35156 from MadEqua/fix-grid-map
...
Fix GridMap getter of baked meshes.
2020-01-15 17:55:52 +01:00
Rémi Verschelde
1aa998cd85
Merge pull request #35150 from akien-mga/愚かな猿
...
Mono: Fix parsing assembly names as UTF-8
2020-01-15 17:52:41 +01:00
Rémi Verschelde
2bc47d1680
Merge pull request #35155 from timothyqiu/optional-jpg
...
Fixes AssetLib crash when JPG module is disabled
2020-01-15 15:50:27 +01:00
Bruno Lourenço
da9eede933
Fix GridMap getter of baked meshes.
2020-01-15 14:30:17 +00:00
Haoyu Qiu
43ad6e8c96
Fixes AssetLib crash when JPG module is disabled
...
JPG module is optional, so check it's existence before using.
2020-01-15 22:16:12 +08:00
Rémi Verschelde
7c624949b5
Merge pull request #35147 from madmiraal/fix-34992
...
Fixes get_floor_normal() returning the user defined floor_normal.
2020-01-15 14:17:15 +01:00
Rémi Verschelde
3da2160233
Merge pull request #35148 from asynts/asynts.dont-close-connections-dialog
...
Don't close the connection dialog when the validation failed.
2020-01-15 12:21:15 +01:00
Rémi Verschelde
9b8d1383ce
Mono: Fix parsing assembly names as UTF-8
...
Fixes #27185 .
2020-01-15 11:51:03 +01:00