Commit graph

32208 commits

Author SHA1 Message Date
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
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
Fabio Alessandrelli
9b8db7c63a [Net] Fix WebRTC returning packets from peers too early.
Due to the async nature of WebRTC implementations, the multiplayer peer
could end up having queued packets from a given connection before it is
able to emit the "peer_added" signal.
This commit ensures that packets from peers which are not notified yet
are skipped by `get_packet` and `get_available_packet_count`.
2021-12-15 11:20:17 +01:00
Max Hilbrunner
97ea2ba78c
Merge pull request #55668 from Calinou/doc-physics-ticks-per-rendered-frame-3.x
Document physics simulation being limited to 8 ticks per rendered frame
2021-12-15 03:44:49 +01:00
Max Hilbrunner
ee3e3df539
Merge pull request #55772 from Calinou/doc-texturearray-srgb
Document sampling a TextureArray with sRGB -> linear conversion
2021-12-15 03:42:16 +01:00
Max Hilbrunner
1fd0f69050
Merge pull request #55832 from Calinou/doc-reflectionprobe-3.x
Improve the ReflectionProbe class documentation (3.x)
2021-12-15 03:23:51 +01:00
Rémi Verschelde
4d709b71de
Merge pull request #55690 from akien-mga/3.x-scene-tree-doc-font-oversampling 2021-12-14 17:33:00 +01:00
Yuri Sizov
9c155a25d0 Improve user communication in the Add Item Type dialog 2021-12-14 17:22:37 +03:00
Rémi Verschelde
b423dc05f6
Merge pull request #55925 from bruvzg/win_console 2021-12-14 15:03:59 +01:00
Rémi Verschelde
6061594aa6
Merge pull request #55922 from lawnjelly/fix_line_width 2021-12-14 14:45:57 +01:00
Rémi Verschelde
e6887499e5
Merge pull request #55921 from rcorre/docscroll3 2021-12-14 13:53:19 +01:00
bruvzg
38c1706a7d
[Windows] Open a new console window for the editor instances. 2021-12-14 14:38:42 +02:00
lawnjelly
cbb6dc35a1 Fix add_line width being too wide
The line width of thick lines was being applied on both sides of the line, resulting in a line that was twice as thick as requested.

This PR fixes this embarrassing oversight.
2021-12-14 12:35:02 +00:00
Ryan Roden-Corrent
22fb04bddf
Document how to autoscroll ScrollContainer.
It is not uncommon to want to scroll to the most recently added child of
a ScrollContainer (e.g. a chat box or activity log). This is a little
tricky, since `ensure_control_visible` will not work on a node on the
same frame as you add it. Let's at least document that you need to wait
until the next frame.

Relates to https://github.com/godotengine/godot-proposals/issues/3629.

Backport of https://github.com/godotengine/godot/pull/55609.

Co-authored-by: Yuri Sizov <pycbouh@users.noreply.github.com>
2021-12-14 06:51:05 -05:00
Rémi Verschelde
db020eae29
Merge pull request #55859 from akien-mga/3.x-gltf-module-cleanup 2021-12-13 13:46:03 +01:00
Rémi Verschelde
8098d16644
Merge pull request #55869 from dsnopek/webxr-internal-textures-3.x 2021-12-12 23:18:17 +01:00
Rémi Verschelde
4ebee76370
Merge pull request #55822 from Chaosus/shader_fix_semicolon_3.x 2021-12-12 21:10:38 +01:00