Commit Graph

39914 Commits

Author SHA1 Message Date
Rémi Verschelde d3d6208ec8
Merge pull request #56127 from akien-mga/doc-makerst-lang-headings 2021-12-21 14:39:02 +01:00
Rémi Verschelde b98785309f
i18n: Add `--lang` option to `make_rst.py` to write translated headings
Add a few missing headings to the translation templates.
2021-12-21 13:47:11 +01:00
Rémi Verschelde d7f6993357
i18n: Sync classref translations with 3.x branch (3.5-beta)
This is the new base branch for the classref translations to prepare them
for the 3.5 release.

This means that the 3.4 class ref translations will likely no longer get
updates, as we can't easily maintain two slightly different branches on
Weblate.

(cherry picked from commit aac4e36149)
2021-12-21 12:50:20 +01:00
Rémi Verschelde 20fd60e37d
i18n: Sync classref translations with Weblate
(cherry picked from commit eb4816ee13)
2021-12-21 12:50:14 +01:00
Rémi Verschelde 7695ad5858
i18n: Remove line numbers from classref PO files
It's useful context for translators but it generates very spammy diffs whenever
a line is added or removed, changing the comments for hundreds or thousands of
msgids needlessly.

We still have the file names so it's relatively easy to search in file to find
the location of the source string.

(cherry picked from commit dbfe36728e)
2021-12-21 12:50:07 +01:00
Rémi Verschelde 3c1d3912b6
i18n: Sync editor translations with Weblate
(cherry picked from commit 0fe94ee6e5)
2021-12-21 12:50:05 +01:00
Rémi Verschelde c972948c21
Merge pull request #55761 from KoBeWi/alt_hack 2021-12-21 11:35:14 +01:00
Rémi Verschelde d321858732
Merge pull request #56119 from timothyqiu/make-rst 2021-12-21 10:48:42 +01:00
Rémi Verschelde 5ffee633cd
Merge pull request #56028 from madmiraal/revert-55978-fix-switch-controller-event-spam 2021-12-21 09:44:59 +01:00
Rémi Verschelde 78857ec770
Merge pull request #55823 from KoBeWi/optional_button 2021-12-21 09:43:42 +01:00
Rémi Verschelde 011c0279c5
Merge pull request #56102 from jmb462/fix-wrong-gradientedit-colorpicker-shape 2021-12-21 09:43:26 +01:00
Haoyu Qiu 9844e36354 Update `make_rst.py` for non-latin texts 2021-12-21 16:35:47 +08:00
Rémi Verschelde 4a58c08955
Merge pull request #56111 from kleonc/editor-atlas-packer-zero-height-fix 2021-12-21 09:30:29 +01:00
Rémi Verschelde 87c3e284c5
Merge pull request #56106 from Calinou/print-fps-vsync-mode 2021-12-21 09:26:49 +01:00
Rémi Verschelde cee4b59551
Merge pull request #56105 from zaevi/fix_tooltip_tr 2021-12-21 09:25:20 +01:00
Rémi Verschelde 73f09b1574
Merge pull request #56098 from Faless/mbedtls/2.16.12 2021-12-21 09:13:31 +01:00
kobewi c68e93ad52 Implement property array for OptionButton 2021-12-21 08:53:09 +01:00
kleonc 46eebf11ca EditorAtlasPacker Fix incorrectly deducing zero height in some cases 2021-12-20 21:37:22 +01:00
Hugo Locurcio a924cb3b54
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 19:56:04 +01:00
Zae e957f7aeb0 Fix BaseButton's localization for tooltip with shortcut 2021-12-21 01:08:37 +08:00
jmb462 f491b43edd Fix wrong ColorPicker shape with GradientEdit 2021-12-20 18:00:11 +01:00
Fabio Alessandrelli 36d316876b 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.
2021-12-20 13:58:54 +01:00
Rémi Verschelde 71616630e0
Merge pull request #56048 from Faless/headless/os_features 2021-12-20 10:54:58 +01:00
Rémi Verschelde 51c5fa48ab
Merge pull request #56039 from Rubonnek/update-detect-prime-formatting-master 2021-12-20 10:28:16 +01:00
Rémi Verschelde 1e3d896d19
Merge pull request #56071 from great90/master 2021-12-20 10:08:51 +01:00
Fabio Alessandrelli e880294d9f [Headless] Workaround texture load failure.
Some assets are loaded based on OS/server feature detection, namely
textures (but potentially others).
The ResourceImporter will fail to load a texture if the OS reports not
supporting it. The OS, in turn, checks texture format support via the
RenderingServer.
This commit makes the dummy rasterizer report known texture formats as
supported (although unused), so that scenes can be correctly loaded when
they include references to imported textures.
2021-12-20 09:18:26 +01:00
great90 10c91f8116
Fix variable name 'max_size' to 'min_size' in aabb 2021-12-19 11:51:14 +08:00
Rémi Verschelde 8485d0c53a
Merge pull request #55918 from BastiaanOlij/fix_win_opengl_destroy_crash
Fix incorrect destroy of OpenGL driver if using Vulkan on Windows
2021-12-18 11:37:52 +01:00
Rémi Verschelde aef799f1fa
Merge pull request #56046 from timothyqiu/map-pattern
Fix crash when executing `TileMap.map_pattern`
2021-12-18 11:29:14 +01:00
Rémi Verschelde 9f5045f70f
Merge pull request #56041 from Zylann/null_checks2
Fix crash if font fails loading when generating a preview
2021-12-18 09:31:26 +01:00
Haoyu Qiu 1078c389f9 Fix crash when executing `TileMap.map_pattern`
Validates the input reference.
2021-12-18 15:53:21 +08:00
Marc Gilleron ccb701f2f7 Fix crash if font fails loading when generating a preview
Historical crash log:

ERROR: No loader found for resource: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf.
   at: (core\io\resource_loader.cpp:213)
ERROR: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf
   at: ResourceLoaderText::_parse_ext_resource (scene\resources\resource_format_text.cpp:170)
ERROR: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf
   at: ResourceLoaderText::load (scene\resources\resource_format_text.cpp:649)
ERROR: Failed loading resource: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core\io\resource_loader.cpp:206)
2021-12-18 03:35:29 +00:00
Bastiaan Olij d08b28aeb0 Fix initialising of gl_manager and checking gl_manager and context_vulkan preventing crash issues. 2021-12-18 12:21:16 +11:00
Wilson E. Alvarez 3c198aecaa
Sync detect_prime_x11.cpp formatting changes from 3.x branch 2021-12-17 16:08:13 -05:00
Rémi Verschelde b0e93711b3
Merge pull request #52170 from Ansraer/2d-scale-factor 2021-12-17 20:10:29 +01:00
Rémi Verschelde 33bc761c73
Merge pull request #55976 from timothyqiu/font-preview-fg 2021-12-17 19:28:47 +01:00
Ansraer c7a03412ac add 2d scale factor property 2021-12-17 19:19:41 +01:00
Rémi Verschelde 52217244f4
Merge pull request #56023 from Zylann/null_checks 2021-12-17 19:11:59 +01:00
Marcel Admiraal 39136ce3e0
Revert "Fixed event spam when using the Nintendo Switch controller" 2021-12-17 17:14:07 +00:00
Haoyu Qiu 1fb59d13c2 Fix font preview text color on light background 2021-12-18 00:34:28 +08:00
Marc Gilleron 5c3b92e94f Don't crash when texture param is null 2021-12-17 15:56:41 +00:00
Rémi Verschelde 58712e96ae
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@Gallilus, @Listwon, @zaevi

Thanks to all contributors and donors for making Godot possible!
2021-12-17 10:37:23 +01:00
Rémi Verschelde ed395c6b99
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@265b43b789.
2021-12-17 00:14:44 +01:00
Rémi Verschelde 33e03386b3
Merge pull request #55966 from bruvzg/wt💩4 2021-12-16 23:05:24 +01:00
Rémi Verschelde 350013f5f2
Merge pull request #55980 from slouken/fix-xinput-detection
Fixed detecting the Valve Streaming Gamepad
2021-12-16 19:50:33 +01:00
Rémi Verschelde 9c9cc1b222
Merge pull request #55978 from slouken/fix-switch-controller-event-spam
Fixed event spam when using the Nintendo Switch controller
2021-12-16 19:49:47 +01:00
Sam Lantinga 313815f818 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:04:58 -08:00
Sam Lantinga 8df0baf6f5 Fixed detecting the Valve Streaming Gamepad
Fixed the GUID, and compare the contents of the GUID, not just the pointers
2021-12-16 08:52:47 -08:00
Rémi Verschelde bc2ac26964
i18n: Sync classref translations with current `3.4` docs
(cherry picked from commit f8b4412b51)
2021-12-16 17:06:18 +01:00
Rémi Verschelde c33e84fe8c
Merge pull request #55165 from Calinou/doc-gui-theme-item-focus-transparent 2021-12-16 15:39:48 +01:00