Commit Graph

32125 Commits

Author SHA1 Message Date
Pedro J. Estébanez 4f38a9e4d6
Stop asuming a default value of NIL means there's no default
(cherry picked from commit 18663aa305)
2021-12-21 11:27:14 +01:00
jabcross a074b66380
Allow selection in asset description
Many assets include links in the description.
This change enables selection for the links,
and other information such as version numbers,
to be copied/pasted.

(cherry picked from commit 814a4ee434)
2021-12-21 11:25:57 +01:00
kleonc d0a5580321
EditorAtlasPacker Fix incorrectly deducing zero height in some cases
(cherry picked from commit 46eebf11ca)
2021-12-21 11:21:23 +01:00
Fabio Alessandrelli a40b88dc2c
Bump mbedtls to 2.16.12
Remove upstreamed patches.
Re-apply padlock and uwp patches.

NOTE: We could replace our padloack patch with mbedtls 3452.
(cherry picked from commit 36d316876b)
2021-12-21 11:20:53 +01:00
Rémi Verschelde 0462f7cacc
Merge pull request #56120 from timothyqiu/make-rst-3.x 2021-12-21 10:48:59 +01:00
Rémi Verschelde 9bc750da55
Merge pull request #56029 from madmiraal/revert-55997-3.x-fix-switch-controller-event-spam 2021-12-21 09:45:21 +01:00
Haoyu Qiu 36642738e0 Update `make_rst.py` for non-latin texts 2021-12-21 16:36:53 +08:00
Rémi Verschelde f93f2cd17d
Merge pull request #56110 from Calinou/print-fps-vsync-mode-3.x 2021-12-21 09:28:19 +01:00
Rémi Verschelde cae911f004
Merge pull request #56109 from zaevi/fix_tooltip_tr_3.x 2021-12-21 09:25:54 +01:00
Rémi Verschelde 50e1764a33
Merge pull request #56059 from bruvzg/macos_gl_off_ctx 2021-12-21 09:20:03 +01:00
Rémi Verschelde 84d1ceaa96
Merge pull request #56101 from raulsntos/fix-56095
Check a `.csproj` exists before trying to edit it
2021-12-21 00:08:23 +01:00
Hugo Locurcio 20f76f2298
Print requested V-Sync mode when Print Fps is enabled
This can be used to diagnose why the printed FPS is locked to the
monitor refresh rate.
2021-12-20 21:28:06 +01:00
Zae 23aaf78391 [3.x]Fix BaseButton's localization for tooltip text with shortcut 2021-12-21 03:44:16 +08:00
Raul Santos cf98ff248a
Check a csproj exists before trying to edit it
When folders are moved/removed from the file system, the `.csproj`
may need to be edited to update the path of C# scripts or remove them.
If a C# solution has not been created, the `.csproj` file does not exist
and therefore there is no need to edit it.
2021-12-20 16:49:16 +01:00
Rémi Verschelde 17b31738f3
Merge pull request #56037 from Rubonnek/update-detect-prime-formatting 2021-12-20 10:27:48 +01:00
Rémi Verschelde 4f58ec3812
Merge pull request #56072 from BastiaanOlij/fix_viewport_size_arvr
Fix size issue for ARVR managed viewport
2021-12-19 08:55:25 +01:00
Clay John 7a6b48bb86
Merge pull request #56061 from Ahopness/3.x
[Android] [3.x] Trunc shader function fixed in GLES2
2021-12-18 20:51:28 -08:00
Bastiaan Olij 4e4de3430e Fix size issue for ARVR managed viewport 2021-12-19 14:51:10 +11:00
Lucas Ângelo 9f68b4fea3
Trunc shader function fixed
the 'trunc' function was comparing integers with floats using the '>' operator, which is not supported in Android. This issue is now gone.
2021-12-18 17:50:58 -03:00
bruvzg ccdf1a9934
[macOS] Fix OpenGL flickering.
Fix incorrect context usage for off-screen drawing.
Remove kCGLCEMPEngine, which is causing flicker.
Disable window redraw during resize, when rendering in the separate thread.
2021-12-18 21:02:13 +02:00
Wilson E. Alvarez 1b8a9d56b3
Set default priority on PRIME detection vendor struct. 2021-12-17 15:12:17 -05:00
Rémi Verschelde e937963007
Merge pull request #55977 from timothyqiu/font-preview-fg-3.x 2021-12-17 19:29:08 +01:00
Marcel Admiraal 9f250e8370
Revert "[3.x] Fixed event spam when using the Nintendo Switch controller" 2021-12-17 17:20:43 +00:00
Haoyu Qiu d99a313fd3 Fix font preview text color on light background 2021-12-18 00:34:54 +08:00
Rémi Verschelde 9c04c75e7d
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
Gallilus, Listwon, zaevi

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 58712e96ae)
2021-12-17 10:38:25 +01:00
Rémi Verschelde ab10fa0439
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@265b43b789.

(cherry picked from commit ed395c6b99)
2021-12-17 00:14:54 +01:00
kobewi bf99f09e14
Mention what happens if find_node() fails
(cherry picked from commit e7722a9a7b)
2021-12-17 00:14:50 +01:00
Sam Lantinga 9efdac2761
Fixed detecting the Valve Streaming Gamepad
Fixed the GUID, and compare the contents of the GUID, not just the pointers

(cherry picked from commit 8df0baf6f5)
2021-12-17 00:14:50 +01:00
Rémi Verschelde 62b181a4ef
Merge pull request #55967 from bruvzg/wt💩3 2021-12-16 23:05:40 +01:00
Rémi Verschelde b61a93d86f
Merge pull request #55997 from slouken/3.x-fix-switch-controller-event-spam
[3.x] Fixed event spam when using the Nintendo Switch controller
2021-12-16 19:51:19 +01:00
Sam Lantinga e5b0f86260 Fixed event spam when using the Nintendo Switch controller
There is no filtering on the Nintendo Switch Pro controller thumbstick, so there will frequently be events with very slight change. These are turned into "not pressed" events, which cancel "pressed" events from keys and buttons.

This change filters out up to 5% jitter, but it might be worth revisiting whether "not pressed" events should cancel "pressed" events.
2021-12-16 09:09:06 -08:00
Rémi Verschelde d32a763c17
i18n: Sync classref translations with current docs
(cherry picked from commit f8b4412b51)
2021-12-16 17:05:49 +01:00
Rémi Verschelde 754fc89d28
i18n: Sync classref translations with Weblate
(cherry picked from commit 9f838dbece)
2021-12-16 15:15:46 +01:00
Rémi Verschelde 660e8e7bb8
i18n: Sync editor translations with Weblate
(cherry picked from commit 8a30e04fd1)
2021-12-16 15:15:41 +01:00
Rémi Verschelde a90cac7ba4
Merge pull request #55988 from timothyqiu/http-proxy-3.x 2021-12-16 13:09:07 +01:00
Rémi Verschelde 8cc549d587
Merge pull request #55986 from timothyqiu/doctool-i18n-3.x 2021-12-16 13:08:59 +01:00
Haoyu Qiu 1cada6bfa9 Add proxy support for `HTTPClient` and the editor
* Adds proxy related methods for `HTTPClient` and `HTTPRequest`
* Adds `network/http_proxy/{host,port}` editor settings
* Makes AssetLib and Export Template Manager proxy aware
2021-12-16 19:38:53 +08:00
raphaelazev 102f102f7d
Added check to get_all_locales to avoid adding duplicate locales to array
(cherry picked from commit 82527df55c)
2021-12-16 12:10:11 +01:00
Haoyu Qiu c11b1850c4 Make `--doctool` locale aware
* Adds `indent(prefix)` to `String`
* Moves the loading of tool/doc translation into
  `editor/editor_translation.{h,cpp}`
* Makes use of doc translation when generating XML class references, and
  setup the translation locale based on `-l LOCALE` CLI parameter.

The XML class reference won't be translated if `-l LOCALE` parameter is
not given, or when it's `-l en`.
2021-12-16 18:27:32 +08:00
Rémi Verschelde 3f137fb3a9
Merge pull request #55983 from timothyqiu/auto-exposure-ivec2 2021-12-16 11:18:31 +01:00
Rémi Verschelde 14d439d868
Merge pull request #53130 from Faless/net/3.x_enet_opts 2021-12-16 10:36:01 +01:00
Rémi Verschelde c2e76dade7
Merge pull request #55981 from Chaosus/fix_shader_hint_3.x 2021-12-16 10:19:48 +01:00
Haoyu Qiu e614a0e9fc Fix incompatible addition in auto exposure shader 2021-12-16 16:06:31 +08:00
Yuri Roubinsky 25e24f2d05 [3.x] Prevent writing incorrect shader hints 2021-12-16 10:22:01 +03:00
Rémi Verschelde b8f87d3f86
Merge pull request #55184 from madmiraal/fix-41421-3.x
[3.x] Only rotate Android sensor values for sensors that need them rotated
2021-12-15 20:26:28 +01:00
Marcel Admiraal b5d325e6ff Only rotate Android sensor values for sensors that need them rotated 2021-12-15 18:15:25 +00:00
bruvzg 9aef3a93dd
[Windows] Detect new Windows Terminal and disable unsupported set_console_visible code. 2021-12-15 20:00:35 +02:00
Rémi Verschelde 28713f939b
Merge pull request #55963 from timothyqiu/color-v-int 2021-12-15 17:56:49 +01:00
Rémi Verschelde c2ac42c45c
Merge pull request #55962 from Calinou/editor-spin-slider-tweak-grabber-3.x 2021-12-15 17:36:50 +01:00
Haoyu Qiu a16b06e7a4 Fix Color.v integer assignment 2021-12-16 00:33:23 +08:00