Commit Graph

37817 Commits

Author SHA1 Message Date
Fabio Alessandrelli f724bd1880 [Core] Add ClassDB functions to retrieve/construct extensions.
Calling the constructor alone is not enough if the class to be
instantiated is not a base class.

This commit adds two functions, one for retrieving the the extension
class reference, the other to construct an instance using the
constructor and the extension class reference.
2021-09-22 17:46:08 +02:00
Rémi Verschelde a4b80cdad9
Merge pull request #52936 from bruvzg/uc14-ranges
Update Font advanced import dialog character ranges to Unicode 14.
2021-09-22 17:25:08 +02:00
bruvzg 545db3c8af Update Font advanced import dialog character ranges to Unicode 14. Fix character range selector column number. 2021-09-22 16:55:39 +03:00
Rémi Verschelde 0f48599ada
Merge pull request #52808 from AnilBK/simplify-logic 2021-09-22 14:08:19 +02:00
Rémi Verschelde 08e455a1f6
Merge pull request #52927 from akien-mga/ci-debug-then-strip 2021-09-22 14:07:52 +02:00
Rémi Verschelde 8afa14e9b7
Merge pull request #51104 from bruvzg/improve_invalid_non_graph_char_detection 2021-09-22 14:07:25 +02:00
Rémi Verschelde a09547450a
Merge pull request #52934 from akien-mga/etcpak-7c3cb6f
etcpak: Update to upstream commit 7c3cb6f (Jul 29, 2021)
2021-09-22 13:48:16 +02:00
Rémi Verschelde b7ad29d574
Merge pull request #52933 from akien-mga/vulkan-1.2.190 2021-09-22 13:47:52 +02:00
bruvzg a58a7cdc9f Improve invalid non-graphic glyph detection. 2021-09-22 14:37:16 +03:00
Rémi Verschelde f25aaa98d6
Merge pull request #52931 from Chaosus/fix_shader_comparison_crash 2021-09-22 13:18:32 +02:00
Rémi Verschelde 3691cb0ca4
etcpak: Update to upstream commit 7c3cb6f (Jul 29, 2021)
Adds a new `useHeuristics` compression mode for ETC2.
Upstream defaults to enable it so we do the same.
2021-09-22 13:17:07 +02:00
Rémi Verschelde a48dc10103
Merge pull request #52932 from JFonS/upd_ebr_readme 2021-09-22 12:56:34 +02:00
Rémi Verschelde fd641ac85c
Vulkan: Update volk and Vulkan SDK components to 1.2.190 2021-09-22 12:56:15 +02:00
Rémi Verschelde 41c1723add
Merge pull request #52930 from akien-mga/nanosvg-ccdb199 2021-09-22 12:40:42 +02:00
Joan Fons eb0f67a541 Update thirdparty README for Embree 2021-09-22 12:29:35 +02:00
Yuri Roubinsky e9e21a592e Prevents editor crash when compare with negative float in shader 2021-09-22 13:26:40 +03:00
Rémi Verschelde 05b28b66ea
nanosvg: Sync with upstream ccdb199
Includes fixes for a memory corruption bug (CVE-2019-1000032)
and possible division by zero.
2021-09-22 12:14:57 +02:00
Rémi Verschelde 211cb401db
Merge pull request #52928 from bruvzg/var_coord_prefill 2021-09-22 11:31:35 +02:00
Anilforextra c63d51408f Use Rect2's get_end(). 2021-09-22 14:09:45 +05:45
bruvzg 9a36d8f26f Fill variation coordinates dictionary with default values when FontData is set/added. 2021-09-22 11:10:40 +03:00
Rémi Verschelde c63d1c3e4a
Merge pull request #52923 from SirQuartz/paint-tool 2021-09-22 10:06:17 +02:00
Rémi Verschelde c4fa301b6b
CI: Build test binaries with debug symbols, then strip
This allows having good stacktraces when the tests crash.
2021-09-22 09:31:44 +02:00
Rémi Verschelde e305030522
Merge pull request #47422 from skyace65/EventPosition 2021-09-22 09:04:38 +02:00
Rémi Verschelde 8b31993ef6
Merge pull request #52921 from timothyqiu/view-name-typo 2021-09-22 08:29:24 +02:00
Nicholas Huelin d625901032
Fix paint tool duplicate shortcut
This pull request fixes an issue where the pain tool in tile_map_editor.cpp had two different shortcuts for the same tool.
2021-09-21 23:04:46 -04:00
Haoyu Qiu 1032c8535b Fix 3D view name typo 2021-09-22 10:30:48 +08:00
skyace65 824259aca0 Add note that for _gui_input(event) event position is relative to the control origin 2021-09-21 20:47:13 -04:00
Camille Mohr-Daurat c1e6c2c49a
Merge pull request #52889 from fabriceci/multiple_collision-support-fab
Port 2D improvements to move and slide 3D (with extras)
2021-09-21 17:41:33 -07:00
fabriceci fd9e573ba6 Port 2D improvement to move and slide 3D
Co-authored-by: Camille Mohr-Daurat <pouleyketchoup@gmail.com>
2021-09-22 00:14:04 +02:00
Rémi Verschelde bfcc29635f
Merge pull request #52913 from Paulb23/text-edit-search-theme 2021-09-21 21:55:41 +02:00
Rémi Verschelde ba57252bd8
Merge pull request #52878 from AnilBK/add-get-center 2021-09-21 21:30:30 +02:00
Paulb23 6c2fd03959 Added search colors to TextEdit and CodeEdit theme 2021-09-21 20:24:39 +01:00
Rémi Verschelde 726b826b31
Merge pull request #52901 from nonunknown/master 2021-09-21 21:04:52 +02:00
Rémi Verschelde 679f70c1e1
Merge pull request #52906 from vnen/gdscript-show-error-on-yield 2021-09-21 20:36:39 +02:00
Rémi Verschelde b3b4860d2e
Merge pull request #52905 from vnen/gdscript-single-line-declaration 2021-09-21 20:35:36 +02:00
Rémi Verschelde 3d33815ad7
Merge pull request #52903 from vnen/gdscript-signal-multiline 2021-09-21 20:35:10 +02:00
George Marques 262d6c6bef
GDScript: Show specific error when "yield" is used
To help people porting code, it gives a hint to use "await" instead of a
generic error.
2021-09-21 14:38:14 -03:00
George Marques e5ebc9710d
GDScript: Allow classes declaration to be done in single line
Incidentally, allow multiple statements in single line functions when
using semicolon as a terminator.
2021-09-21 14:14:46 -03:00
George Marques bab0afc821
GDScript: Allow multiple lines in signal parameters declaration 2021-09-21 13:40:39 -03:00
nonunknown 5489f43844 Fix alpha typo in code completion color 2021-09-21 12:59:01 -03:00
Rémi Verschelde db028ac700
Merge pull request #52898 from vnen/gdscript-assigment-conversion-fix
GDScript: Remove conversion assign mistakenly done when unneeded
2021-09-21 17:43:11 +02:00
Anilforextra 90908cd67d Add Get Center Method for Rect2/Rect2i and AABB. 2021-09-21 21:14:17 +05:45
Rémi Verschelde b1853d8672
i18n: Sync translations with Weblate
(cherry picked from commit 323c3ee9db5414dbd79748a98e21446dddecb057)
2021-09-21 17:28:21 +02:00
Rémi Verschelde 61ce8b206e
Merge pull request #52877 from Calinou/add-print-verbose
Add `print_verbose()` built-in function to print in verbose mode only
2021-09-21 17:00:58 +02:00
George Marques 5107f9190b
GDScript: Remove conversion assign mistakenly done when unneeded 2021-09-21 11:58:57 -03:00
Rémi Verschelde f144b33201
Merge pull request #51280 from EricEzaM/shortcut-remove-preprocessor-defines-add-overrides
Added ability to override shortcut definitions for OSX (remove preprocessor defines)
2021-09-21 16:57:48 +02:00
Rémi Verschelde 051c2c8a3a
Merge pull request #38256 from EricEzaM/add-option-update-spinbox-on-text-changed
Added option for spinbox to update it's value on line edit 'text_changed' rather than 'text_entered'
2021-09-21 16:24:47 +02:00
Eric M 6b65092c57 Added ability to override shortcut definitions for OSX (remove preprocessor defines) 2021-09-22 00:09:57 +10:00
Hugo Locurcio 650b1db4b8
Add `print_verbose()` built-in function to print in verbose mode only
This can be used as a shorthand for:

    if OS.is_stdout_verbose():
        print("...")

Unlike `print_debug()`, this works in release builds too and can
be toggled off in debug builds.
2021-09-21 15:59:49 +02:00
Yuri Roubinsky 26e3b3908d
Merge pull request #52852 from Chaosus/gds_fix_constants
Prevent local constant default value from incorrect overriding by a global constant in GDScript autocompletion
2021-09-21 16:44:46 +03:00