Commit Graph

41222 Commits

Author SHA1 Message Date
SeleckyErik d14165dae9 Simplify DisplayServerWindows pos/size message handling
Replace WM_MOVE and WM_SIZE message handling with WM_POSCHANGED instead.
This is for multiple reasons:
1) Microsoft suggest using WM_POSCHANGED is more efficient
2) RectChanged callback is only called once for most window operations
3) Simplifies message handling code
2022-01-31 18:28:48 +01:00
Rémi Verschelde 7da9e31f66
Merge pull request #57405 from kleonc/texture_button_focus_only_logic_fix 2022-01-31 18:22:58 +01:00
Rémi Verschelde 74b1e77938
Merge pull request #57276 from IgorKordiukiewicz/fix-auto-brace-complete-wrap-on-selection 2022-01-31 18:14:01 +01:00
Rémi Verschelde 7d97f04da8
Merge pull request #57454 from rcorre/undo_skel 2022-01-31 18:13:32 +01:00
Rémi Verschelde 243fbebb89
Merge pull request #57447 from bruvzg/unicode_escape 2022-01-31 18:11:55 +01:00
Rémi Verschelde f14b1441e7
Merge pull request #56548 from madmiraal/fix-53894 2022-01-31 18:08:48 +01:00
Rémi Verschelde b0604622a8
Merge pull request #57419 from orosmatthew/fix_ortho_lod 2022-01-31 18:06:44 +01:00
Rémi Verschelde d7822cbf21
Merge pull request #57367 from Chaosus/vs_derivative 2022-01-31 16:51:30 +01:00
Fabio Alessandrelli 6bc1383b18
Merge pull request #57482 from Faless/js/4.x_misc_fixes
[HTML5] Fix Gamepad sampling, cleanup config code.
2022-01-31 16:19:41 +01:00
Fabio Alessandrelli 93968e1451 [HTML5] Fix gamepad samples not being properly reset. 2022-01-31 14:56:48 +01:00
Fabio Alessandrelli 2f509f1b12 [HTML5] Better engine config parsing. 2022-01-31 14:56:40 +01:00
Rémi Verschelde 777c821748
Merge pull request #57462 from mashumafi/master-fix-button-icon-alpha3
Fix button icon_disabled_color alpha channel
2022-01-31 14:53:22 +01:00
Rémi Verschelde 7cb25c2870
Merge pull request #57456 from Paulb23/placeholder-color
Move placeholder colour to theme item
2022-01-31 14:52:34 +01:00
Rémi Verschelde be60e04639
Merge pull request #57481 from bruvzg/restore_snap_controls_to_pixels 2022-01-31 13:45:52 +01:00
bruvzg e1148cc452 Revert "Fix control node transform animation jitter with pivot offset"
This reverts commit dfb7d46a2a.
2022-01-31 13:30:35 +02:00
Rémi Verschelde 2c85f2a8f6
Merge pull request #57432 from Ev01/audiostreamgenerator-doc-link-fix
Fixed invalid link to tutorial in AudioStreamGenerator class reference
2022-01-31 09:49:09 +01:00
Rémi Verschelde 5b1b545a58
Merge pull request #57450 from Pineapple/master-ltcg-embed-pck
Prevent LTCG (MSVC LTO) from removing "pck" section
2022-01-31 09:47:42 +01:00
Ev01 b6c543179c Fixes invalid links to tutorials in AudioStreamGenerator, AudioStreamGeneratorPlayback, and AudioEffectSpectrumAnalyzer class references 2022-01-31 17:36:57 +11:00
mashumafi c317a97359 Fix button icon_color_disabled alpha channel 2022-01-30 14:25:42 -05:00
bruvzg 8e79c5fb8d
Add support for the escaped UTF-16 and UTF-32 Unicode characters in the scripts and expressions. 2022-01-30 20:16:04 +02:00
Paulb23 1cd1df5dc3 Move placeholder color to theme item 2022-01-30 17:56:23 +00:00
Ryan Roden-Corrent c9cce53983
Merge create_physical_skeleton undo entries.
Pressing `ctrl+z` after clicking "Create Physical Skeleton" will now
undo the creation of all physical bones by that operation.

Previously undo would remove one bone at a time.

Fixes https://github.com/godotengine/godot/issues/55351.
2022-01-30 12:28:44 -05:00
orosmatthew b0202c3a7d Fix orthogonal camera auto LOD calculation
- Do not take orthogonal camera's distance into account when calculating LOD.
- Only take into account screen size taken up.
2022-01-30 11:54:27 -05:00
Igor Kordiukiewicz f170d6a171 With auto_brace_complete enabled, selected text now gets wrapped by braces 2022-01-30 17:33:13 +01:00
Bartłomiej T. Listwon e4bde938a1 Prevent LTCG (MSVC LTO) from removing "pck" section 2022-01-30 16:45:28 +01:00
Yuri Roubinsky 78e3e65e7c
Merge pull request #57412 from Chaosus/fix_doc_panel_theming 2022-01-30 11:54:30 +03:00
Yuri Roubinsky 6e2c9f398c Fix theming of doc background 2022-01-30 09:49:24 +03:00
Fazil Babu 65b6b140b6 Inspector retains content when detached and when docked 2022-01-30 12:11:27 +05:30
Rémi Verschelde e4265e86ce
Merge pull request #57409 from Calinou/physics-run-on-thread-rename
Rename the physics server `run_on_thread` project settings
2022-01-29 22:00:58 +01:00
Hugo Locurcio 736ac25306
Rename the physics server `run_on_thread` project settings
`run_on_separate_thread` is more explicit.
2022-01-29 17:35:50 +01:00
kleonc 078b8c25ce TextureButton Fix logic for drawing only the focus texture 2022-01-29 16:00:30 +01:00
Rémi Verschelde 2f57a11ed9
Merge pull request #55785 from nathanfranke/clang-tidy 2022-01-29 13:46:38 +01:00
Ignacio Roldán Etcheverry 9467350f37
Merge pull request #57384 from madmiraal/vswhere-errors
Be more verbose about why msbuild tools could not be found
2022-01-29 12:45:14 +01:00
Nathan Franke 8a0a3accee
simplify formatting scripts, add a clang-tidy script, and run clang-tidy 2022-01-29 04:41:03 -06:00
Rémi Verschelde 01f5d7c616
Merge pull request #57379 from Faless/net/4.x_ip_cache_fixes
[Net] Simplify IP resolution code, fix caching.
2022-01-29 08:21:05 +01:00
Marcel Admiraal 51834a4589 Be more verbose about why msbuild tools could not be found 2022-01-29 07:16:34 +00:00
Rémi Verschelde cb3d308f96
Merge pull request #57372 from KoBeWi/tween_freeze()
Better handle infinite Tween loops
2022-01-29 08:08:34 +01:00
Fabio Alessandrelli 49297d937c [Net] Simplify IP resolution code, fix caching.
First, we should not insert into cache if the hostname resolution has
failed (as it might be a temporary internet issue), second, the async
resolver should also properly insert into cache.

Took the chance to remove some duplicate code with critical section in
it at the cost of little performance when calling the blocking
resolve_hostname function.
2022-01-29 01:56:36 +01:00
Rémi Verschelde 252ec22ff9
Merge pull request #57296 from emcguirk/bug-57253-fix-hint-label 2022-01-29 00:36:42 +01:00
kobewi 038977a985 Better handle infinite Tween loops 2022-01-29 00:36:39 +01:00
Rémi Verschelde e84c552b08
Merge pull request #52557 from jmb462/rename_layers 2022-01-29 00:36:03 +01:00
Hugo Locurcio 34d382eab6
Clamp GradientTexture2D dimensions to 2048×2048 in the inspector
Larger sizes take up a lot of memory for little visual benefit.
They also take a while to initialize, which makes the inspector slow
to refresh when the texture needs to be regenerated.
2022-01-29 00:32:16 +01:00
Hugo Locurcio b4f0d4c7db
Decrease the default GradientTexture and CurveTexture size
This provides better usability when a GradientTexture or CurveTexture
is added to a Control node.

Visual appearance of most GradientTextures and CurveTextures will
be unaffected.
2022-01-29 00:28:10 +01:00
Rémi Verschelde ffa566c770
Merge pull request #57330 from eikobear/master 2022-01-28 23:59:18 +01:00
Rémi Verschelde e22a162003
Merge pull request #57365 from pycbouh/editor-icons-uniformity 2022-01-28 23:53:23 +01:00
jmb462 b619a47416 Renaming layers from the inspector via a popup menu. 2022-01-28 23:52:11 +01:00
Rémi Verschelde 1c6f0aa3a0
Merge pull request #56601 from Scony/fix-navigation-obstacle-errors 2022-01-28 23:25:55 +01:00
Rémi Verschelde 2a5b136de2
Merge pull request #57371 from Scony/fix-navigation-2d-defaults 2022-01-28 23:24:38 +01:00
Rémi Verschelde 2279edeaf0
Merge pull request #57368 from TokageItLab/fix-delta-for-animation-tree 2022-01-28 23:16:29 +01:00
Rémi Verschelde 27e4c84edd
Merge pull request #57326 from Josephblt/material-preview-sphere-icon-has-wrong-inactive-modulation 2022-01-28 23:06:59 +01:00