Commit Graph

40365 Commits

Author SHA1 Message Date
bruvzg
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
Rémi Verschelde
2f4d76f068
Merge pull request #56734 from hinlopen/showhide
Minor code improvement in CanvasItem (show/hide/set_visible)
2022-01-13 00:01:34 +01:00
Rémi Verschelde
586a973b6b
Merge pull request #56169 from dkaste/fix-clip-rects
Fix canvas items being drawn outside clip rects
2022-01-12 23:59:42 +01:00
Stijn Hinlopen
fb1cd9e446 Refactor CanvasItem show/hide/set_visible 2022-01-12 23:13:41 +01:00
Yuri Roubinsky
eba047eff5
Merge pull request #52710 from Jummit/fix-debug-tooltips 2022-01-12 22:03:52 +03:00
Rémi Verschelde
53096c6f01
i18n: Sync classref translations with Weblate
(cherry picked from commit b9b23d2226)
2022-01-12 18:45:42 +01:00
Rémi Verschelde
6167ec42f9
i18n: Sync editor translations with Weblate
(cherry picked from commit da5a11fe45)
2022-01-12 18:45:36 +01:00
Rémi Verschelde
2f3a6fb55d
Merge pull request #56302 from madmiraal/fix-54698 2022-01-12 17:42:31 +01:00
Rémi Verschelde
f927fee49a
Merge pull request #56708 from KoBeWi/to_hover_or_not_to_hover 2022-01-12 17:28:34 +01:00
Rémi Verschelde
929f483ca0
Merge pull request #55446 from Calinou/spritebase3d-remove-opacity 2022-01-12 16:49:57 +01:00
Rémi Verschelde
cd93bb9130
Merge pull request #56673 from winterpixelgames/bugfix-android-keystore-paths 2022-01-12 16:45:44 +01:00
Marcel Admiraal
5737e7dd2d Check if action name exists before adding it or renaming an action to it 2022-01-12 15:19:18 +00:00
Rémi Verschelde
a7839df869
Merge pull request #56698 from touilleMan/issue-56652 2022-01-12 16:13:06 +01:00
Rémi Verschelde
adc66be7be
Merge pull request #56722 from akien-mga/glslang-support-system-library 2022-01-12 16:04:59 +01:00
Rémi Verschelde
42d3993446
Merge pull request #56692 from JFonS/fix_gizmo_secondary_handles 2022-01-12 15:53:06 +01:00
Rémi Verschelde
585231a172
Merge pull request #56492 from akien-mga/remove-author-docstrings 2022-01-12 15:24:17 +01:00
Emmanuel Leblond
ad2b0ac8bd Explicitly declare python helper modules in SConstruct to avoid unexpected shadowing 2022-01-12 15:09:46 +01:00
Rémi Verschelde
4e83fbcd14
Merge pull request #56289 from zacryol/clarify-user-data 2022-01-12 15:07:20 +01:00
Rémi Verschelde
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
jfons
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
Yuri Roubinsky
b2ae6f838a
Merge pull request #56713 from Chaosus/vs_sampler_connection
Auto-set a port source for texture nodes created by dragged connection
2022-01-12 16:07:09 +03:00
Yuri Roubinsky
74d701b5b1
Merge pull request #56672 from Chaosus/optimize_shader_lang
Optimize include files to improve `shader_language.h` compilation speed
2022-01-12 16:06:21 +03:00
Yuri Roubinsky
c381990fca Auto-set a port source for texture nodes created by dragged connection 2022-01-12 15:21:55 +03:00
kobewi
4eec0032ea Improve description of mouse_exited signal 2022-01-12 12:49:21 +01:00
Rémi Verschelde
d98d327868
Merge pull request #56308 from Calinou/scons-tweak-target-release-error-message 2022-01-12 12:24:34 +01:00
Rémi Verschelde
886c75985f
Merge pull request #56710 from zacryol/spriteframes-list-3d 2022-01-12 12:21:53 +01:00
Yuri Roubinsky
422f7b280f Optimize include files to improve shader_language.h compilation speed 2022-01-12 14:19:12 +03:00
Rémi Verschelde
d9f6e33663
Merge pull request #56684 from zacryol/file-dialog-filters-description 2022-01-12 11:46:23 +01:00
Rémi Verschelde
ac9f303e6d
Merge pull request #56646 from Chaosus/vst_context_menu 2022-01-12 11:39:06 +01:00
Rémi Verschelde
adf8af86f8
Merge pull request #56700 from bruvzg/macos_terminal_activation 2022-01-12 11:37:37 +01:00
Rémi Verschelde
f135c950a5
Merge pull request #56709 from YeldhamDev/die_monster_you_dont_belong_in_this_world 2022-01-12 11:37:04 +01:00
Rémi Verschelde
b5495783b2
Merge pull request #53185 from KoBeWi/viewing_pan 2022-01-12 11:36:41 +01:00
Rémi Verschelde
dc3b2e6ea2
Merge pull request #56717 from bruvzg/macos_opengl_hdr 2022-01-12 11:35:31 +01:00
Rémi Verschelde
7cd6ff3220
Merge pull request #56716 from bruvzg/hb_320 2022-01-12 11:34:10 +01:00
Rémi Verschelde
bfd0afca58
Merge pull request #55656 from clayjohn/GLSL3-compiler 2022-01-12 11:33:48 +01:00
Rémi Verschelde
189662e5bd
Merge pull request #56696 from AnilBK/use-init-lists 2022-01-12 10:04:45 +01:00
bruvzg
a38f56cfc3
[macOS] Fix OpenGL color space on HDR displays. 2022-01-12 10:50:17 +02:00
bruvzg
b63aced768
HarfBuzz: Update to version 3.2.0 2022-01-12 10:17:30 +02:00
Rémi Verschelde
e664d195cb
Merge pull request #56693 from timothyqiu/vs-i18n
i18n: Make VisualScript node caption & text translatable
2022-01-12 08:05:17 +01:00
clayjohn
99064d57db New OpenGL batching canvas renderer 2022-01-11 22:26:18 -08:00
reduz
98ac002c34 WIP New GLES3 Shader Compiler
Uses versions and specializations (more similar to RenderingDevice version)
2022-01-11 22:25:01 -08:00
Anilforextra
6c3a0460a8 Use List Initializations for Vectors. 2022-01-12 10:15:12 +05:45
Michael Alexsander
cb1a648f42 Fix several issues in ´TabBar´ 2022-01-12 00:17:36 -03:00
zacryol
4391f6a5b5 List AnimatedSprite3D in SpriteFrames description
Both AnimatedSprite2D and AnimatedSprite3D use a SpriteFrames resource, but the SpriteFrames
class description currently only lists being used with the 2D variant.
2022-01-11 19:55:45 -07:00
zacryol
123cfb4759 Update description of FileDialog filters property
specify that multiple filetypes/extensions can be included in one filter within the
PackedStringArray, and provide an example
2022-01-11 18:04:14 -07:00
Max Hilbrunner
96a20e477b
Merge pull request #56697 from mhilbrunner/meshdatatool-docs
Fixed typos in MeshDataTool documentation
2022-01-11 23:00:13 +01:00
bruvzg
927105692f
[macOS] Improve window activation hack. 2022-01-11 23:25:12 +02:00
Rémi Verschelde
56838ca009
CI: Rename macOS cache key to force a rebuild
The cache got corrupted and until https://github.com/actions/cache/issues/2
is prioritized we're forced to fix it up with such hacks...
2022-01-11 20:59:06 +01:00
Sam
bc9df365b0 Fixed typos in MeshDataTool documentation
- Fixed missing "be" typo in MeshDataTool's get_face_edge function
- Corrected documentation to say negative values aren't valid
2022-01-11 17:39:10 +01:00
Max Hilbrunner
b6bdbd2650
Merge pull request #56681 from skyace65/InstancePlaceholder
Instance placeholder clarification
2022-01-11 17:21:01 +01:00