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
bruvzg
59085d5051
[Windows] Improve console handling and execute.
...
Always build with the GUI subsystem.
Redirect stdout and stderr output to the parent process console.
Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with non-blocking calls).
Add `open_console` argument to the `execute` to open a new console window (for both blocking and non-blocking calls).
Remove `interface/editor/hide_console_window` editor setting.
Remove `Toggle System Console` menu option.
Remove `set_console_visible` and `is_console_visible` functions.
2021-12-18 10:13:27 +02:00
Haoyu Qiu
2bff705e13
Improve axis awareness and visibility for Position2D and Position3D
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-12-18 12:53:24 +08: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
bruvzg
b4ec1c5817
Backport: Allow for mapping scancodes to current layout
...
Co-authored-by: Frixuu <kontakt@lukasz.xyz>
2021-12-17 13:04:47 +02: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
Hugo Locurcio
69f7f7310d
Make EditorSpinSlider grabbers thicker to be more noticeable
2021-12-15 17:18:53 +01:00
Rémi Verschelde
ef52ac6c25
Merge pull request #55960 from timothyqiu/xml-indents-3.x
2021-12-15 16:27:07 +01:00
Haoyu Qiu
b225fec1de
Fix indentations in class reference XMLs
2021-12-15 22:40:19 +08:00
Fabio Alessandrelli
ce98beb522
Merge pull request #54381 from mhilbrunner/rpc-error-msgs-3.x
...
[3.x] Websockets: Fix buffer size checks in put_packet(), silent failures/connection hangs
2021-12-15 13:48:53 +01:00
Rémi Verschelde
a4ba31ab8c
Merge pull request #55928 from pycbouh/editor-add-theme-type-communication-3.x
2021-12-15 13:01:28 +01:00
Rémi Verschelde
cefba46d49
Merge pull request #55953 from Faless/net/3.x_webrtc_mp_connect_fix
2021-12-15 12:38:17 +01:00