Rémi Verschelde
5f56d385b0
Core: Move Rect2i to its own rect2i.h
header
...
And take the opportunity to improve interdependencies a bit with forward
declares where possible.
2022-02-04 14:17:30 +01:00
Rémi Verschelde
89eb6d372d
Merge pull request #57591 from vnen/gdscript-enum-fixes
2022-02-04 13:49:15 +01:00
Rémi Verschelde
225a3b2545
Merge pull request #57341 from bruvzg/win_multiwin_fs
2022-02-04 13:28:56 +01:00
Rémi Verschelde
2e320dcf87
Merge pull request #57617 from bruvzg/char_cleanup
2022-02-04 13:06:38 +01:00
Rémi Verschelde
d235c1bb19
Merge pull request #57335 from jordigcs/display-refresh-rate
2022-02-04 11:51:07 +01:00
Rémi Verschelde
85f6151e9d
Merge pull request #54645 from rxlecky/editor-window-offset-bug-45740
2022-02-04 11:48:57 +01:00
bruvzg
f4ea9cd9f3
[Windows] Add WS_BORDER flag to windows in WINDOW_MODE_FULLSCREEN mode to allow multi-window interface in full-screen.
...
[Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
2022-02-04 12:08:46 +02:00
Rémi Verschelde
29c4644890
Merge pull request #57086 from YeldhamDev/scene_tabs_fix
2022-02-04 11:01:41 +01:00
Densorius
93e2d0446f
Fixed opening new instances of VS 2022 while a instance is already open
2022-02-04 10:40:43 +01:00
bruvzg
244db37508
Cleanup and move char functions to the char_utils.h
header.
2022-02-04 11:35:01 +02:00
Rémi Verschelde
2a3c4f00c8
Merge pull request #57541 from reduz/node-add-remove-hook
2022-02-04 10:13:29 +01:00
Rémi Verschelde
b68db2f98a
Merge pull request #57571 from Haydoggo/improved-expression
2022-02-04 09:30:50 +01:00
Mai Lavelle
b966ca6167
Improve detection of gamepads on Linux
...
Some devices (Nintendo Switch Right Joy-Con) report only a right stick.
2022-02-03 22:56:43 -05:00
jordi
54dec44dba
Add screen_get_refresh_rate to DisplayServer
2022-02-03 21:50:32 -06:00
Ignacio Roldán Etcheverry
c24fc415dc
Merge pull request #57609 from Densorius/master
...
Add Visual Studio 2022 support with fallback to 2019
2022-02-04 03:47:11 +01:00
Densorius
9ea0508d35
Add Visual Studio 2022 support with fallback to 2019
2022-02-04 00:34:02 +01:00
Rémi Verschelde
cfa2bfca4e
Merge pull request #57598 from Faless/js/4.x_fix_config_regression
2022-02-04 00:15:18 +01:00
Hayden Leete
018de19eba
Added hex and bin literal support to Expression parser
...
fixed formatting
2022-02-04 10:49:19 +13:00
Rémi Verschelde
f8f19b313d
Merge pull request #57562 from AnilBK/string-add-contains
...
String: Add contains().
2022-02-03 22:21:24 +01:00
Rémi Verschelde
025e778020
Merge pull request #57175 from fire-forge/add-type-icons
...
Add type icons to Project Settings, Array, and Dictionary editors
2022-02-03 22:17:25 +01:00
Anilforextra
adbe948bda
String: Add contains().
2022-02-04 01:28:02 +05:45
Rémi Verschelde
c47f059776
Merge pull request #57467 from webbuf/modules-initialize
...
Initialized Member Variables in /modules
2022-02-03 20:41:29 +01:00
Rémi Verschelde
7191605324
Merge pull request #57587 from bruvzg/gde_fix_ptr_and_enum_returns
...
[GDExtension] Fix registration of functions with enum or native pointer return type.
2022-02-03 20:36:59 +01:00
fire540
d5d05386a6
Add type icons to Project Settings, Array, and Dictionary editors
2022-02-03 13:02:18 -06:00
Fabio Alessandrelli
6d3d17651a
Revert "[HTML5] Better engine config parsing."
...
This reverts commit 2f509f1b12
.
Breaks closure compiler builds.
And adds a warning for future readers.
2022-02-03 19:17:51 +01:00
Rémi Verschelde
bf0253bab9
Merge pull request #56764 from madmiraal/fix-45592-2
2022-02-03 18:10:30 +01:00
Rémi Verschelde
ffc828ac50
Merge pull request #57582 from akien-mga/editorproperty-range-fix-step
2022-02-03 17:51:16 +01:00
George Marques
ceafdf347e
GDScript: Treat enum values as int and enum types as dictionary
...
Since enums resolve to a dictionary at runtime, calling dictionary
methods on an enum type is a valid use case. This ensures this is true
by adding test cases. This also makes enum values be treated as ints
when used in operations.
2022-02-03 13:32:34 -03:00
George Marques
b013c0d544
GDScript: Allow tests to run on release builds
...
- Fix compilation issues by disabling warnings on release builds. This
also strips warnings from expected result before the comparison to
avoid false mismatches.
- Add a `#debug-only` flag to tests. Must be the first line of the test
script. Those won't run with release builds. Can be used for test
cases that rely on checks only available on debug builds.
2022-02-03 13:32:33 -03:00
George Marques
ad6e2e82a9
GDScript: Consolidate behavior for assigning enum types
...
This makes sure that assigning values to enum-typed variables are
consistent. Same enum is always valid, different enum is always
invalid (without casting) and assigning `int` creates a warning
if there is no casting.
There are new test cases to ensure this behavior doesn't break in
the future.
2022-02-03 13:32:16 -03:00
Rémi Verschelde
5e39a8eded
Merge pull request #56992 from YeldhamDev/smarter_popmenu_focus
2022-02-03 17:15:06 +01:00
zwebb
466661c78f
initialized member variables in header
2022-02-03 11:14:42 -05:00
Rémi Verschelde
3004415bfc
Merge pull request #57565 from jmb462/split_offset
2022-02-03 17:04:49 +01:00
Rémi Verschelde
45d5aa5d47
Merge pull request #56365 from aaronfranke/default-shape-size
2022-02-03 16:59:07 +01:00
Rémi Verschelde
c0daec389d
Merge pull request #57589 from bruvzg/rtl_autowrap
2022-02-03 16:09:04 +01:00
Rémi Verschelde
6acbd5f774
Merge pull request #57102 from akien-mga/libwebp-1.2.2
2022-02-03 15:16:57 +01:00
Rémi Verschelde
c4f38813b4
Merge pull request #57577 from bruvzg/mac_export_tr
2022-02-03 15:16:46 +01:00
bruvzg
ead6f67670
Add auto-wrap mode property to the RichTextLabel, set default auto-wrap mode to AUTOWRAP_WORD_SMART to match 3.x behavior.
2022-02-03 16:04:07 +02:00
bruvzg
ddd96b3059
[GDExtension] Fix registration of functions with enum or native pointer return type.
2022-02-03 16:03:23 +02:00
Rémi Verschelde
17d33c0530
Merge pull request #57579 from Chaosus/shader_better_for_loop
2022-02-03 14:54:59 +01:00
Rémi Verschelde
7f93eb34cf
Merge pull request #57581 from groud/remove_get_fowus_owner
2022-02-03 13:35:19 +01:00
Rémi Verschelde
ebe9495b7d
EditorProperty: Fix range hint parsing with optional step
...
This could lead to have a step of 0 when parsing e.g. "1,10,is_greater".
2022-02-03 12:57:59 +01:00
Rémi Verschelde
e165f18ae5
Merge pull request #57350 from NeilKleistGao/master
2022-02-03 12:36:23 +01:00
Gilles Roudière
73e784de1e
Remove get_focus_owner() from Control, replaced by get_viewport()->gui_get_focus_owner()
2022-02-03 11:59:32 +01:00
Rémi Verschelde
36880714e4
Merge pull request #57517 from groud/viewport_expose_gui_focus
2022-02-03 11:20:20 +01:00
Rémi Verschelde
309b9d3301
Merge pull request #57575 from timothyqiu/doc-stream-peer-buffer
2022-02-03 10:24:12 +01:00
Rémi Verschelde
bab1ac6dcb
Merge pull request #57570 from Faless/net/4.x_http_client_req_noblock
2022-02-03 10:06:13 +01:00
Max Hilbrunner
98d8c9acd7
Merge pull request #57568 from TechnicalSoup/TechnicalSoup-patch-1
...
Expand description for warp_mouse_position method
2022-02-03 09:51:09 +01:00
Yuri Roubinsky
58696fd774
Allow multiple declarations in for loop in a shader
2022-02-03 11:35:38 +03:00
NeilKleistGao
1cf2b9a44b
Add warning for Windows export when rcedit is not configured
2022-02-03 16:25:00 +08:00