Commit graph

39931 commits

Author SHA1 Message Date
Yuri Roubinsky
8367cb9fef Fix size of the default property popup after opening a Color property 2021-12-26 22:10:33 +03:00
Rémi Verschelde
28174d531b
Merge pull request #56210 from 1ace/vk-engine-version
drivers/vulkan: limit pEngineName to only the engine name, without its version
2021-12-24 11:29:06 +01:00
Eric Engestrom
83333f7e15 drivers/vulkan: limit pEngineName to only the engine name, without its version
It's supposed to be something stable that can be used to identify the engine
(using an equality check), so having the version number in there defeats
the purpose.

While at it, there is no need to prefix it with a second `"GodotEngine"`, nor
to copy the static C string into a C++ string to then extract a C string
from it :)
2021-12-24 01:24:22 +00:00
Rémi Verschelde
9d02cfa6b4
Merge pull request #56202 from 1ace/vk-engine-version
drivers/vulkan: set the engineVersion to Godot's version
2021-12-23 21:39:14 +01:00
Eric Engestrom
961bf6e30f drivers/vulkan: set the engineVersion to Godot's version 2021-12-23 18:10:22 +00:00
Ignacio Roldán Etcheverry
54d89f2274
Merge pull request #56183 from raulsntos/fix-56180
Fix `KeyValuePairAt` memory leak
2021-12-23 13:36:04 +01:00
Raul Santos
1fdfc379b6 Fix KeyValuePairAt memory leak 2021-12-23 03:15:57 +01:00
Rémi Verschelde
1906b59675
Merge pull request #55636 from bruvzg/vis_char_modes
Add different "visible characters" behavior modes.
2021-12-23 00:43:33 +01:00
Rémi Verschelde
650b77340d
Merge pull request #56165 from timothyqiu/escape-fix 2021-12-22 18:46:47 +01:00
Haoyu Qiu
a07e2b71fc Fix make_rst.py missing escape in front of some links 2021-12-23 00:50:40 +08:00
Rémi Verschelde
0f6a6ca5be
Merge pull request #56131 from Chaosus/shader_refactor_render_modes 2021-12-22 13:29:03 +01:00
Rémi Verschelde
656f81eec7
Merge pull request #55793 from aaronfranke/ios64 2021-12-22 12:10:14 +01:00
Aaron Franke
cd6ac96bbb
Remove build system code for 32-bit iOS 2021-12-22 00:44:19 -08:00
Yuri Roubinsky
e8a457ba89 Refactor render_mode in shaders, forbid declaring duplicates 2021-12-21 22:20:09 +03:00
Rémi Verschelde
489f11ee0c
Merge pull request #56043 from Zylann/mesh_old_conversion_message 2021-12-21 15:23:57 +01:00
Marc Gilleron
830b54a03b Added resource path to message about old mesh format conversion 2021-12-21 14:39:40 +01:00
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