Commit Graph

7284 Commits

Author SHA1 Message Date
f615926d3c freetype: Update to upstream version 2.11.1 2022-01-13 08:40:18 +01:00
baec983d8a [TextServer] Improvements for line breaking, "Fill" alignment, overrun, and interaction between these modes.
Fix "Fill" alignment processing wrong side of the text if overrun trim was applied.
Improve "Fill" alignment to avoid adding excessive subsequent spaces or elongations.
Add font detection to the overrun, to correctly add ellipsis (was using last glyph font, which doesn't necessary have dot character).
Improve line breaking to avoid adding excessive subsequent soft break points for languages without word separator.
Port missing overrun/justification code to the Fallback text server.
Fix inferred text direction detection by controls.
Add tests for "Fill" alignment and line breaking glyph flags.
2022-01-13 08:53:28 +02:00
e4c40efeab Fix marshaling values of generic Godot Dictionary 2022-01-12 23:26:51 +01:00
adc66be7be Merge pull request #56722 from akien-mga/glslang-support-system-library 2022-01-12 16:04:59 +01:00
42d3993446 Merge pull request #56692 from JFonS/fix_gizmo_secondary_handles 2022-01-12 15:53:06 +01:00
585231a172 Merge pull request #56492 from akien-mga/remove-author-docstrings 2022-01-12 15:24:17 +01:00
8c76ad188b glslang: Fix support for building against public/system library
Fix include paths to support both vendored and system-installed glslang.

Remove usage of the private `StandAlone` bits.
Requires us to vendor a copy of `DefaultTBuiltInResource` (or provide our own
customized one) as glslang doesn't provide it in its public API.
Also removes unused C interface as it's not well encapsulated and depends on
`StandAlone`.

Fixes #56307.
2022-01-12 14:36:02 +01:00
5ebea2d120 Fix secondary handles in editor gizmos
Primary and secondary handles are no longer differentiated by their ids, so a bool was added to tell them apart in all the handle-related methods.

Includes a minor fix in CollisionPolygon3DEditor, unrelated to editor gizmos.
2022-01-12 14:21:20 +01:00
ac9f303e6d Merge pull request #56646 from Chaosus/vst_context_menu 2022-01-12 11:39:06 +01:00
b5495783b2 Merge pull request #53185 from KoBeWi/viewing_pan 2022-01-12 11:36:41 +01:00
e664d195cb Merge pull request #56693 from timothyqiu/vs-i18n
i18n: Make VisualScript node caption & text translatable
2022-01-12 08:05:17 +01:00
a074ceefcd Merge pull request #56130 from Faless/mbedtls/2.28.0 2022-01-11 15:03:28 +01:00
d40d86b959 Merge pull request #56667 from Ice-Cube69/fix_incorrect_property_types 2022-01-11 14:34:18 +01:00
9b373642a5 i18n: Make VisualScript node caption & text translatable 2022-01-11 21:18:15 +08:00
ba7ed05792 Unify panning in sub-editors and make it configurable 2022-01-11 13:57:19 +01:00
0c46f73b5e Fixed incorrect property types 2022-01-11 17:17:11 +05:30
64d8b3aef2 Assign member type when parsing setters to prevent
'Compiler bug: unresolved assign' errors
2022-01-11 11:23:17 +00:00
b3513cffc5 Merge pull request #56326 from NNesh/fix/unknown_default_value_callable
Extended the _make_arguments_hint function to get default values for function arguments in hint
2022-01-10 21:29:13 +01:00
374baff747 Fixed <unknown> text for callable default value for a function arguments hint
Format switch

Added a case for constant subscripts

Fixed default value hinting for the enum type

Removed is_null checking for value

Added a case for dictionary
2022-01-10 23:22:35 +05:00
49482966ec Merge pull request #55715 from nathanfranke/enum-ordered 2022-01-10 17:19:52 +01:00
1989120d3f Merge pull request #56194 from cdemirer/fix-operation-result-type-inference 2022-01-10 17:18:32 +01:00
4acc819f9b Merge pull request #56232 from V-Sekai/invalid_explicit_variant_assign_fix 2022-01-10 17:12:56 +01:00
cc7f634066 Merge pull request #56260 from cdemirer/fix-type-mutation-upon-assignment-with-operation 2022-01-10 17:12:34 +01:00
c8b4fe3b8d Merge pull request #56287 from cdemirer/fix-member-property-only-getter-cant-be-set 2022-01-10 17:12:06 +01:00
1fd5954962 Merge pull request #56288 from cdemirer/fix-member-property-getter-dont-update-subscript-chain-root 2022-01-10 17:10:57 +01:00
8f8c3f4b4c Merge pull request #56342 from NNesh/fix/class-completion 2022-01-10 17:07:08 +01:00
b3d208385f Merge pull request #56409 from cdemirer/fix-unexpected-copying-when-parameter-is-typed 2022-01-10 17:03:47 +01:00
eea510fc35 Merge pull request #56651 from gerhean/Fix-leak-when-function-returning-parent-class-type 2022-01-10 16:59:36 +01:00
7faf02383c Merge pull request #55225 from bruvzg/fix_ligature_cursor_and_ot_features 2022-01-10 13:32:54 +01:00
cf25090cc8 Merge pull request #56662 from timothyqiu/fbx-fixes 2022-01-10 13:01:30 +01:00
b6aedc160d Merge pull request #56663 from bruvzg/fix_tab_inf_loop 2022-01-10 12:33:44 +01:00
0464db3da8 Merge pull request #56602 from V-Sekai/csg_selection 2022-01-10 12:31:59 +01:00
af67e4c291 Fix crash on importing FBX file 2022-01-10 18:24:31 +08:00
af6758e008 Fix freezes when tab is zero or negative width. 2022-01-10 12:19:29 +02:00
8c973f21ee Fix glyph index for bitmap fonts.
Fix TextEdit glyph position rounding.
2022-01-10 08:00:27 +02:00
609964848d Fix leak when function returning self type
Leak is caused by cyclic reference
2022-01-10 02:14:48 +08:00
c89c515ccf [TextServer] Improve ligature cursor handling.
Fix mid-grapheme hit test.
Fix OpenType features property handling, add default features override option.
Enable mid-grapheme cursor by default.
2022-01-09 19:03:48 +02:00
e9694a8971 Add context menu to visual script editor 2022-01-09 19:19:39 +03:00
32abe36cce Merge pull request #56617 from AnilBK/use_fill
Use fill() to fill an entire image instead of setting pixels individually.
2022-01-08 23:38:06 +01:00
b468104842 Skip Draco-compressed glTF 3d format files. 2022-01-08 10:14:46 -08:00
8fc73539e9 Allow showing both left and right side panels 2022-01-08 20:31:22 +08:00
c9f5d88f3a Use fill() to fill an entire image instead of setting pixels individually. 2022-01-08 17:43:15 +05:45
1a1ee43e3e Fixed completion showing for class members 2022-01-08 01:49:18 +05:00
7f16bed947 Fix selection of CSG objects 2022-01-07 19:57:02 +00:00
9e095bb68b Fix some more wrong node names 2022-01-07 00:27:20 +01:00
393a44b275 Merge pull request #55213 from Scony/fix-gdscript-crash 2022-01-06 20:54:03 +01:00
c69e0d16bc Fix multiple missing UTF-8 decoding. 2022-01-06 14:35:22 +02:00
1f0dc02649 Merge pull request #56006 from KoBeWi/6yearslater
Add physics material to GridMap
2022-01-06 13:28:42 +01:00
21cfcaa129 Add a GDScript template for VisualShaderNodeCustom 2022-01-06 12:06:33 +03:00
3662105f8b Merge pull request #56479 from V-Sekai/import-options 2022-01-05 20:44:42 +01:00