Commit graph

34885 commits

Author SHA1 Message Date
Fabio Alessandrelli 801aadb401 Add DisplayServerDummy for headless display.
Uses RasterizerDummy internally. This is always compiled in, maybe we
should add a switch to enable/disable it via scons?
2021-06-01 16:27:54 +02:00
Fabio Alessandrelli 9fb18e4998 Sync RasterizerDummy changes. 2021-06-01 16:20:38 +02:00
Rémi Verschelde cb4635f260
Merge pull request #49241 from floppyhammer/fix-tree-item-dragging
Make tree item dragging not affected by touch dragging
2021-06-01 15:29:35 +02:00
Rémi Verschelde af3ee1c860
Merge pull request #48963 from HaywardMorihara/export-android-keystore-debug-warnings
Exporting -> Android: Keystore Warnings
2021-06-01 15:22:05 +02:00
Rémi Verschelde c882b6fab7
Merge pull request #49236 from kleonc/texture_region_editor-edit_region-updating-fix
TextureRegionEditor Fix not updating on editing region with autoslice cached
2021-06-01 14:47:47 +02:00
floppyhammer d202cf6899 fix-tree-item-dragging 2021-06-01 20:46:17 +08:00
Rémi Verschelde a744983094
Merge pull request #49239 from Paulb23/text_edit_selection_behind_minimap
Fix TextEdit selection drawing behing minimap
2021-06-01 14:42:15 +02:00
Paulb23 5f66dfa371 Fix TextEdit selection drawing behing minimap 2021-06-01 13:09:39 +01:00
Rémi Verschelde bbaac16871
Merge pull request #49228 from MmAaXx500/cc-ver-pr
Improve compiler version extraction
2021-06-01 13:54:00 +02:00
Rémi Verschelde 0286495f59
Merge pull request #49024 from groud/restore_tilemap_show_debug
Restore TileMap's debug collision shapes and add navigation.
2021-06-01 12:51:28 +02:00
kleonc 019c99e538 TextureRegionEditor Fix not updating on editing region with autoslice cached 2021-06-01 12:17:32 +02:00
Rémi Verschelde 4c1d555b9a
Merge pull request #48770 from LightningAA/scrollcontainer-ensure-item-visible-4.0
ScrollContainer: Expose `_ensure_focused_visible` to the scripting API and rename it to `ensure_control_visible`
2021-06-01 11:01:40 +02:00
Rémi Verschelde 59b524ae4c
Merge pull request #49067 from JFonS/fix_gcc_warnings
Fix some warnings raised by GCC-11.1
2021-06-01 10:47:37 +02:00
Lightning_A 6d5b5ba89f ScrollContainer: Expose _ensure_focused_visible to the API
Was renamed to `ensure_control_visible`
2021-05-31 17:14:57 -10:00
Rémi Verschelde 5ec8920cde
Merge pull request #49142 from Chaosus/bvh_fix_possible_crash
Fixed possible crash in `DynamicBVH::optimize_incremental`
2021-05-31 21:04:08 +02:00
MmAaXx500 c759b7b235 Improve compiler version extraction 2021-05-31 20:31:12 +02:00
Rémi Verschelde 0ef18532de
Merge pull request #48517 from pycbouh/editor-better-profiles-dialog
Improve the layout and texts of the Editor Feature Profiles dialog
2021-05-31 18:17:13 +02:00
Yuri Sizov 00bcfaed85 Improve the layout and texts of the Editor Feature Profiles dialog 2021-05-31 18:08:11 +03:00
Rémi Verschelde ff648e2504
Merge pull request #49226 from Faless/net/4.x_empty_chunk_fix
[Net] Fix HTTPRquest store_buffer error.
2021-05-31 16:48:56 +02:00
Fabio Alessandrelli 507a9beca1 [Net] Fix HTTPRquest store_buffer error.
HTTPRquest no longer call store_buffer/append_array when the chunk size
is 0.
2021-05-31 15:42:31 +02:00
Rémi Verschelde afe1d1672f
Merge pull request #49223 from timothyqiu/plugin-config-desc-wrap
Wrap description TextEdit of plugin config dialog
2021-05-31 14:52:04 +02:00
Rémi Verschelde e615060cd6
Merge pull request #49132 from Calinou/editor-syntax-themes-rename-default
Rename the bundled text editor themes for consistency with themes
2021-05-31 14:47:49 +02:00
Rémi Verschelde 643da45e16
Merge pull request #49173 from KoBeWi/navigational_oblivion
Tweak arguments of list_dir_begin() (skips navigational and hidden files by default)
2021-05-31 14:33:58 +02:00
Rémi Verschelde 144759303d
Merge pull request #49208 from aaronfranke/tileset-disable-dep-compat
Disable loop with CompatibilityTileData in TileSet when building with deprecated=no
2021-05-31 14:26:13 +02:00
Hugo Locurcio 1704be0a44
Rename the bundled text editor themes for consistency with themes
The Adaptive text editor theme is the default, and has therefore
been renamed Default for consistency with the Default theme preset.
It keeps its automatic dark/light switch status.

The Default text editor theme was actually a legacy Godot 2-style theme,
so it has been renamed to Godot 2 to match the theme preset.
Its background color has been changed to be a constant opaque color,
since the new editor theme made the theme look less good on a translucent
background. The previous background color on light theme also lacked
contrast.
2021-05-31 14:02:13 +02:00
Rémi Verschelde c9ce5367e3
Merge pull request #49213 from Calinou/doc-resource-duplicate-copy-export-only
Document `Resource.duplicate()` only copying exported variables' values
2021-05-31 13:42:09 +02:00
Rémi Verschelde 3c7f09bfeb
Merge pull request #49194 from madmiraal/fix-43544
Fix UV mapping on CSGSphere
2021-05-31 13:05:48 +02:00
Haoyu Qiu e83c2cd0c3 Wrap description TextEdit of plugin config dialog 2021-05-31 19:02:35 +08:00
Rémi Verschelde da23f99123
Merge pull request #49185 from DrRevert/inertia_nan_fix
GodotPhysics: Avoid NaNs when calculating inertias for bodies without mass/area
2021-05-31 12:56:36 +02:00
Rémi Verschelde 652a9debad
Merge pull request #49191 from pfertyk/issue-46020-pluginscript-instance-has-crashes-godot
Check for _language in PluginScript.instance_has
2021-05-31 12:46:07 +02:00
Rémi Verschelde afe776c19e
Merge pull request #49222 from bruvzg/fix_unix_free_space
Fix `Directory::get_space_left()` result on macOS and Linux.
2021-05-31 12:42:04 +02:00
Rémi Verschelde 4a97424576
Merge pull request #49182 from timothyqiu/parent-cache
Check cache_parent_physical_bone when rebuilding parent cache
2021-05-31 12:30:10 +02:00
Rémi Verschelde f0aa4e597a
Merge pull request #49178 from YeldhamDev/remove_dim_option 2021-05-31 12:27:01 +02:00
Rémi Verschelde 4e3d5148ff
Merge pull request #49157 from Chaosus/vs_billboard
Added Billboard Node to Visual Shaders
2021-05-31 12:23:01 +02:00
kobewi bd50006aae Tweak arguments of list_dir_begin() 2021-05-31 12:16:26 +02:00
bruvzg 1d7a63fb8f
Fix Directory::get_space_left() result on macOS and Linux. 2021-05-31 12:57:18 +03:00
Rémi Verschelde 1d35a35d4f
Merge pull request #49175 from nobuyukinyuu/bind-zoom-on-position
Bind CanvasItemEditor::_zoom_on_position and CanvasItemEditor::get_st…
2021-05-31 11:45:59 +02:00
Rémi Verschelde 52ab531a56
Merge pull request #49161 from lawnjelly/fix_canvas_rect_bound4
[4.x] Fix canvas rect bound calculation
2021-05-31 11:34:46 +02:00
Rémi Verschelde 6ebe3bebae
Merge pull request #49192 from lawnjelly/bvh_current_tree4
BVH - fix stale current_tree in deactivate function [4.x]
2021-05-31 11:33:24 +02:00
Rémi Verschelde 0e678a2bad
Merge pull request #49144 from aemreaydin/editor-features-collapse-reset 2021-05-31 11:24:10 +02:00
Rémi Verschelde a8c144f72e
Merge pull request #49121 from KoBeWi/dropreload
Add preload() to resource path when holding Ctrl
2021-05-31 11:10:37 +02:00
Rémi Verschelde 2f386ac100
Merge pull request #49162 from Paulb23/fix_find_text_change_signal
Fix FindReplaceBar text_change signal binding after replace all
2021-05-31 11:10:14 +02:00
Rémi Verschelde 04b85add38
Merge pull request #49130 from Calinou/editor-improve-audio-bus-theming
Improve the audio bus editor appearance
2021-05-31 11:04:05 +02:00
Rémi Verschelde 596eb783fe
Merge pull request #49050 from reduz/implement-spirv-cache
Implement shader caching
2021-05-31 11:02:19 +02:00
Rémi Verschelde f7bcada709
Merge pull request #49137 from RandomShaper/ios_targeted_family
Add iOS export option for device family
2021-05-31 10:34:49 +02:00
Rémi Verschelde 544bbc9483
Merge pull request #49136 from Calinou/editor-light-theme-use-negative-contrast
Use a negative contrast setting for light editor themes
2021-05-31 10:33:19 +02:00
Rémi Verschelde bc29826fd3
Merge pull request #49125 from Calinou/tweak-camera2d-editor-colors 2021-05-31 10:16:14 +02:00
reduz 0d2e02945b Implement shader caching
* Shader compilation is now cached. Subsequent loads take less than a millisecond.
* Improved game, editor and project manager startup time.
* Editor uses .godot/shader_cache to store shaders.
* Game uses user://shader_cache
* Project manager uses $config_dir/shader_cache
* Options to tweak shader caching in project settings.
* Editor path configuration moved from EditorSettings to new class, EditorPaths, so it can be available early on (before shaders are compiled).
* Reworked ShaderCompilerRD to ensure deterministic shader code creation (else shader may change and cache will be invalidated).
* Added shader compression with SMOLV: https://github.com/aras-p/smol-v
2021-05-31 10:13:09 +02:00
Rémi Verschelde 39df47b88f
Merge pull request #48915 from lyuma/gltf_mesh_nodes_bones
gltf: Fix mesh nodes which are also bones.
2021-05-31 09:55:05 +02:00
Hugo Locurcio 2ba893e3ce
Document Resource.duplicate() only copying exported variables' values 2021-05-31 00:11:38 +02:00