Commit Graph

47429 Commits

Author SHA1 Message Date
Rémi Verschelde 15d1af11e2
Merge pull request #63957 from YuriSizov/buttons-in-focus
Round icon position and size in buttons to make them look sharper
2022-08-05 21:16:21 +02:00
bruvzg 4b155b939b
[Text Server] Prevent composite glyphs which incorporate kashida from being used for justification. Update TextServer tests to clean up on fail. 2022-08-05 19:35:38 +03:00
Yuri Sizov bd5ad943b4 Rebuild the trees in the EditorFeatureProfile dialog when the editor theme changes 2022-08-05 19:17:58 +03:00
bitsawer 691e067ef5 Fix shader preprocessor macro expansion 2022-08-05 17:41:24 +03:00
Hakim 60677c4e95 Remove rect_ prefix from control properties when keyframing 2022-08-05 16:04:51 +02:00
Clay John 8f05263bd5
Merge pull request #63951 from reduz/framebuffer-cache
Add a Framebuffer cache
2022-08-05 09:45:37 -04:00
Rémi Verschelde b2595194d1
Merge pull request #63923 from asmaloney/doc-annotation-return-type 2022-08-05 15:28:32 +02:00
Yuri Sizov 62d14ca22d Round icon position and size in buttons to make them look sharper 2022-08-05 15:48:45 +03:00
Fabio Alessandrelli f5a89bf460
Merge pull request #63944 from Faless/net/4.x_ip_no_err
[Net] IP uses print_verbose when getaddrinfo fails.
2022-08-05 14:36:37 +02:00
Rémi Verschelde 73766cccf7
Merge pull request #63941 from Calinou/doc-range-lerp
Improve `range_lerp()` and related methods documentation
2022-08-05 14:25:31 +02:00
Juan Linietsky f999f52f0a Add a Framebuffer cache
Adds a FramebufferCache singletion that operates the same way as UniformSetCache.

Allows creating framebuffers on the fly (and keep them cached if re-requested) such as:

```C++
RID fb = FramebufferCache::get_singleton()->get_cache(texture1,texture2);
```
2022-08-05 13:37:29 +02:00
Hugo Locurcio bd19c9a95c
Improve `range_lerp()` and related methods documentation 2022-08-05 12:23:23 +02:00
bruvzg 944779a132
Implement `screen_is_kept_on` for macOS. 2022-08-05 13:14:13 +03:00
Rémi Verschelde cc35a8723c
Merge pull request #50297 from Calinou/distance-fade-use-interleaved-gradient-noise 2022-08-05 12:03:51 +02:00
Rémi Verschelde 9c8e7031bf
Merge pull request #55452 from Calinou/editor-theme-tweak-popup-spacing 2022-08-05 12:01:00 +02:00
RedMser 00e788e611 Implement `keep_screen_on` for Windows 2022-08-05 11:58:50 +02:00
Hugo Locurcio e919e51a6b
Use interleaved gradient noise for distance fade
This provides better visuals and performance compared to the previous
ordered dither.
2022-08-05 11:35:34 +02:00
Hugo Locurcio 3dab891691
Tweak PopupMenu item spacing in the editor theme
- Increase spacing between items for easier clicking with the mouse.
- Increase lateral margins for better visual appearance.
- Decrease margin at the top and bottom to compensate for the increased
  per-item height.
2022-08-05 11:29:12 +02:00
Fabio Alessandrelli 59eea34851 [Net] IP uses print_verbose when getaddrinfo fails.
Avoid spamming errors when network is disconnected.
Returned address will be invalid, so it can be checked by the user via
`ret.is_valid_ip_address`.
2022-08-05 10:49:56 +02:00
Rémi Verschelde 44d3c8402e
Merge pull request #63916 from akien-mga/tests-silence-some-intentional-errors
Tests: Silence some intentional errors
2022-08-05 10:00:10 +02:00
smix8 5137cd9d87 Add NavigationMesh baking for HeightMapShape
Adds HeightMapShape for StaticColliders and GridMap to the NavigationMeshGenerator for baking NavigationMesh.
2022-08-05 08:56:38 +02:00
Michael Alexsander 2b86c458bf Fix some bugs with `Window`s 2022-08-05 02:25:15 -03:00
Rémi Verschelde 1afc83d0a7 i18n: Sync classref translations with Weblate
(cherry picked from commit b671ea88fb)
2022-08-05 03:32:23 +02:00
Rémi Verschelde 97db538352 i18n: Sync editor translations with Weblate
(cherry picked from commit 4e64c1f1b6)
2022-08-05 03:32:15 +02:00
Rémi Verschelde 5354afdadb
Merge pull request #63931 from akien-mga/certs-update
certs: Sync with Mozilla bundle as of Jul 19, 2022
2022-08-05 03:13:49 +02:00
Rémi Verschelde 04f31399b8
Merge pull request #63930 from akien-mga/sdl-gamecontrollerdb 2022-08-05 03:13:25 +02:00
Rémi Verschelde d8c8ecb148 certs: Sync with Mozilla bundle as of Jul 19, 2022
7f33e7eb84
2022-08-05 03:02:38 +02:00
Rémi Verschelde 86647c9e42 Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@4896d2de6b
2022-08-05 02:59:03 +02:00
Rémi Verschelde 25915cdd0e
Merge pull request #59844 from Calinou/rename-shader-param-methods 2022-08-05 02:52:06 +02:00
Rémi Verschelde e36f324bdf
Merge pull request #63922 from rburing/fix_softbody_normals 2022-08-05 02:50:32 +02:00
Andy Maloney 2748220133 [make_rst] Remove (fake) return types on annotations
Based on discussion in #63561, Yuri mentioned that the return types are not necessary here, so remove the fake "void" return types on annotations.
2022-08-04 20:10:32 -04:00
Rémi Verschelde b1580ea334
Merge pull request #63924 from bruvzg/ts_reg_fixes 2022-08-05 00:27:14 +02:00
Rémi Verschelde 453fbcf2f9
Merge pull request #63912 from aaronfranke/vec3-slerp-colinear 2022-08-05 00:26:53 +02:00
Hugo Locurcio db22b7ded0
Rename shader parameter uniform setter/getter methods for consistency
`shader_uniform` is now consistenly used across both per-shader
and per-instance shader uniform methods. This makes methods easier
to find in the class reference when looking for them.
2022-08-04 23:17:06 +02:00
Ricardo Buring 74f41f8560 Fix SoftDynamicBody3D normals
Store normal vector in A2B10G10R10 format.
2022-08-04 23:10:04 +02:00
Rémi Verschelde 62423b691e Tests: Silence some intentional errors
Also fix printing messages in ClassDB test.
2022-08-04 22:03:44 +02:00
Rémi Verschelde daa1220a86
Merge pull request #61856 from iwek7/label_overflowing_text 2022-08-04 22:03:29 +02:00
Rémi Verschelde f6431db9a5
Merge pull request #63852 from fire-forge/default-colors 2022-08-04 22:03:10 +02:00
bruvzg 80c9a44492
Fix overrun flag check and HarfBuzz safe to break flag check. 2022-08-04 22:58:28 +03:00
Rémi Verschelde 80193260ff
Merge pull request #63915 from YuriSizov/editor-theme-type-is-wideboi 2022-08-04 21:41:03 +02:00
Rémi Verschelde 52bfae1741
Merge pull request #63918 from akien-mga/no-s3tc-for-mobile 2022-08-04 21:40:45 +02:00
Aaron Franke 88f5b0d563
Check if the axis is zero / vectors are colinear in Vector3 slerp 2022-08-04 14:32:54 -05:00
hoontee 21b9b117be Add `TorusMesh` 2022-08-04 13:45:54 -05:00
Fabio Alessandrelli 951a1016d3 [Scons] Implement module dependency sorting.
Modules can now call:

env.module_add_dependencies(name: str, deps: list, optional: bool)

To add required or optional dependencies during the "can_build" step.

Required dependencies will be checked and the module will be not be
enabled when they are missing, printing a warning to notify the user.
2022-08-04 20:00:19 +02:00
Rémi Verschelde 49ac05550e
Merge pull request #63838 from tefusion/fix-arrange-nodes-freeze
Fix GraphEdit::arange_nodes causing a freeze when cycle in Graph
2022-08-04 19:36:22 +02:00
iwek efcdfc2332 Fix issue with overlaping text label text 2022-08-04 19:19:33 +02:00
Rémi Verschelde e9f8b2d190
Merge pull request #58536 from winterpixelgames/feature/virtual-keyboard-types
Add support for multiple virtual keyboard types
2022-08-04 19:11:40 +02:00
Rémi Verschelde bed2482ce2
Merge pull request #63910 from rburing/fixup_array_inspector 2022-08-04 18:31:43 +02:00
Rémi Verschelde 8a9700c8a7 Force disable S3TC support on Android/iOS since we don't handle it
Fixes #63909 for now.
This could be improved in the future if we want to properly support S3TC on mobile.
2022-08-04 18:27:56 +02:00
Rémi Verschelde 84acfd69d7
Merge pull request #54792 from EIRTeam/independent_arrows 2022-08-04 18:09:29 +02:00