George Marques
6bdb28f5e4
GDScript: Avoid hard errors on inferred types
...
Since inference isn't always correct, they are now treated as unsafe
instead of errors.
This also removes inferred type when a variable is reassigned. Since
it's not aware of branching, the types might become invalid in a later
context.
2021-10-06 11:42:19 -03:00
George Marques
d6c799006a
GDScript: Make all warnings enabled in test generation
...
The test generation doesn't initialize the language (since it's already
initialized in main), but it still needs the warning enabled so it
matches the actual tests.
2021-10-06 11:39:00 -03:00
Rémi Verschelde
0e9d5a41d2
Merge pull request #53408 from EIRTeam/fix_wasapi_output_latency
2021-10-06 16:35:35 +02:00
Rémi Verschelde
010e17b44f
Merge pull request #53476 from Paulb23/breakpoint-move-up-fix
2021-10-06 16:25:17 +02:00
Paulb23
0caab00d66
Fix breakpointed_lines out of sync when removing lines above
2021-10-06 14:23:37 +01:00
Infinixius
547ed239c0
Fix small typos regarding WebSocketPeer
2021-10-06 09:12:05 -04:00
Rémi Verschelde
294acad796
Merge pull request #53472 from akien-mga/doc-update-tutorial-links
2021-10-06 14:59:36 +02:00
Rémi Verschelde
18c1e80141
Merge pull request #53468 from KoBeWi/crossdrag
2021-10-06 14:17:33 +02:00
kobewi
3f6112d48b
Improve editor panning and remove RMB panning
2021-10-06 14:11:33 +02:00
Rémi Verschelde
862994a8ef
doc: Update links to latest documentation after content reorganization
2021-10-06 13:48:48 +02:00
Gilles Roudière
bfbaa4b461
Allow editing several tiles animations at once
2021-10-06 13:20:29 +02:00
kobewi
92a53f9bd6
Change dragging cursor on Windows
2021-10-06 13:13:42 +02:00
Álex Román Núñez
fd4fa10d8b
Make WASAPI return accurate latency information
2021-10-06 12:28:12 +02:00
Rémi Verschelde
36de097577
Merge pull request #53460 from timothyqiu/tooltip-request-func
2021-10-06 10:11:46 +02:00
Rémi Verschelde
425f643e05
Merge pull request #53416 from DeeJayLSP/patch-1
2021-10-06 09:11:21 +02:00
Haoyu Qiu
45e943f4fe
Fix crash when tooltip_request_func object is freed
2021-10-06 15:00:31 +08:00
Rémi Verschelde
aa02e0b151
Merge pull request #53450 from nekomatata/fix-editable-children-error
2021-10-06 08:27:15 +02:00
Rémi Verschelde
9962c59dc5
Merge pull request #53446 from nekomatata/container-pre-sort-children
2021-10-06 08:25:06 +02:00
Rémi Verschelde
b04b3064ec
bullet: Fix UWP build by disabling TaskScheduler dynamic loading
...
Cf. https://github.com/bulletphysics/bullet3/pull/3991
(cherry picked from commit cbe0cff53d
)
2021-10-06 08:18:19 +02:00
DeeJayLSP
d89889d055
Describe how window mode setter and getter works
2021-10-05 20:43:13 -03:00
PouleyKetchoupp
2f6cf3b8a8
Fix editable children errors when packing scene tree at runtime
...
When packing a scene node which is not the root, errors where caused
by internal checks in is_editable_instance method.
This check can be safely made outside instead.
2021-10-05 14:49:50 -07:00
PouleyKetchoupp
1c0ebc85dd
Add pre-sort signal and notification in Container
...
Allows processing before children are sorted, useful for custom
containers inherited from existing ones like BoxContainer.
2021-10-05 13:09:01 -07:00
Kirill Diduk
1f38b00242
#52491 Cosmetic: fix type cast and add comment with the algorithm source
2021-10-05 21:40:33 +02:00
Rémi Verschelde
a7ba227631
Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_master
2021-10-05 21:02:27 +02:00
Rémi Verschelde
869a618e54
Merge pull request #53438 from godotengine/fix-code-comple-end-key
2021-10-05 20:41:28 +02:00
Rémi Verschelde
6afe9ad040
Merge pull request #53432 from akien-mga/classref-note-style
2021-10-05 19:58:24 +02:00
Rémi Verschelde
a603b2d7c7
Merge pull request #47497 from briansemrau/nan-inf-tscn-parsing-bug
2021-10-05 19:57:33 +02:00
Yuri Roubinsky
be6f36a66d
Add missing shader built-ins
2021-10-05 20:50:26 +03:00
Rémi Verschelde
20b56f557c
makerst: Disable making refs for operator methods
...
As this requires more work to ensure that the refs are valid and unique.
2021-10-05 19:13:24 +02:00
Rémi Verschelde
1e36f5f524
makerst: Make external links anonymous
...
Otherwise we get errors if we use the same title for different links in a given class.
2021-10-05 19:13:24 +02:00
Rémi Verschelde
e87f3dd4d0
makerst: Add substitution for static qualifier
2021-10-05 19:13:24 +02:00
Rémi Verschelde
788b3aa27a
doc: Fix style inconsistencies for [b]Note:[/b]
paragraphs
...
And fix up formatting not supported by makerst.
2021-10-05 19:13:20 +02:00
Rémi Verschelde
a5d7b49342
Merge pull request #53428 from akien-mga/4.x/27790-viewport-error-fix
...
Fix ViewportTexture error when viewport is used from a child scene
2021-10-05 18:51:29 +02:00
Eric M
ced7d51e23
Fix the "END" key behaving like "PAGE_DOWN" in code completion.
...
Before: behaved like page down.
After: goes to last item.
2021-10-06 01:28:29 +10:00
Rémi Verschelde
198b49d8b5
Merge pull request #53237 from metinc/fix-animated-sprite-precision-error-master
2021-10-05 16:26:36 +02:00
Rémi Verschelde
3ae1d2d899
Merge pull request #53431 from MaxLap/new_instance_error_message
2021-10-05 15:57:55 +02:00
Thakee Nathees
3f3ed5d34c
NaN, INF read/write bug fixed
...
Fix : #40589
2021-10-05 09:25:49 -04:00
Rémi Verschelde
d9af98e114
Merge pull request #52811 from Faless/js/4.x_our_input
2021-10-05 15:07:23 +02:00
Fabio Alessandrelli
68616edcbc
[HTML5] Refactor JS library listeners to OS.
2021-10-05 14:15:07 +02:00
Fabio Alessandrelli
c494e442bc
[HTML5] Refactor display/input JS library code.
2021-10-05 14:15:07 +02:00
Fabio Alessandrelli
204822ed45
[HTML5] Implement Pointer Lock API in JS library.
...
Removes more emscripten HTML5 library dependencies.
2021-10-05 14:15:07 +02:00
Fabio Alessandrelli
7d6c1fdb32
[HTML5] Implement window blur in JS library.
...
Removes more emscripten HTML5 library dependencies.
2021-10-05 14:15:07 +02:00
Fabio Alessandrelli
b6315afc9a
[HTML5] Implement fullscreenchange in JS library.
...
Removes more emscripten HTML5 library dependencies.
2021-10-05 14:15:07 +02:00
Fabio Alessandrelli
b2d30c725d
[HTML5] Implement mouse/touch/key events in JS library.
...
This makes us more independent from emscripten libraries, giving us more
control on the application lifecycle.
2021-10-05 14:15:07 +02:00
Maxime Lapointe
29dc8de88b
Improve error message when instantiating virtual class
2021-10-05 08:09:35 -04:00
Rémi Verschelde
8a0db53d0f
Merge pull request #51437 from timothyqiu/selection-box-sep
2021-10-05 13:55:22 +02:00
Rémi Verschelde
08eee3a669
Merge pull request #53425 from Chaosus/shader_fix
2021-10-05 13:06:32 +02:00
jitspoe
2ceba818c3
Fix ViewportTexture error when viewport is used from a child scene
...
Fix invalid errors when a separate child scene file contains a viewport and
that viewport is used for a texture in the current scene.
Fixes #27790 .
2021-10-05 12:21:06 +02:00
kobewi
9e5fdbc79d
Fix LUA-style assignment in Dictionary
2021-10-05 12:17:13 +02:00
Rémi Verschelde
b1c6826b9f
Merge pull request #52963 from Pineapple/WIN32_LEAN_AND_MEAN_master
2021-10-05 12:03:05 +02:00