Commit Graph

45360 Commits

Author SHA1 Message Date
Rémi Verschelde 1418f97c70 File: Re-add support to skip CR (`\r`) in `File::get_as_text`
This was removed in #63481, and we confirmed that it's better like this,
but we add back the possibility to strip CR as an option, to optionally
restore the previous behavior.

For performance this is done directly in `String::parse_utf8`.

Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR.

Supersedes #63717.
2022-08-01 00:40:35 +02:00
Rémi Verschelde 14828c331c Mono: Fix build after #63737 2022-08-01 00:40:18 +02:00
Rémi Verschelde f04004b24c
Merge pull request #55450 from Calinou/script-editor-improve-light-theme-syntax-colors 2022-08-01 00:08:25 +02:00
Rémi Verschelde 787bb0f269
Merge pull request #54732 from zedutch/fix-threaded-load-request-cachemode 2022-07-31 23:55:55 +02:00
Rémi Verschelde 790b63b27c
Merge pull request #51128 from HaSa1002/add-graphedit-is-ok-method-4 2022-07-31 23:55:19 +02:00
Rémi Verschelde 6c5330154e
Merge pull request #63429 from RandomShaper/indicate_overridden 2022-07-31 23:54:38 +02:00
Rémi Verschelde a50d232015
Merge pull request #49045 from foxydevloper/hide-custom-settings-non-advanced 2022-07-31 23:53:58 +02:00
Rémi Verschelde e8d9191ff0
Merge pull request #56087 from zaevi/return_key_index 2022-07-31 23:53:19 +02:00
Rémi Verschelde f2791a75b3
Merge pull request #56063 from KoBeWi/dragging_nodes_over_wifi 2022-07-31 23:52:54 +02:00
Rémi Verschelde 8ad80f0547
Merge pull request #63737 from YuriSizov/editorresourceconversionpluginactomy 2022-07-31 23:52:38 +02:00
Rémi Verschelde e2307dc76a
Merge pull request #63741 from MinusKube/script-editor-members-bug
Find a better solution for the script editor member list sometimes not being updated
2022-07-31 23:51:36 +02:00
Guilherme Felipe de C. G. da Silva 0ad580a740 Fix AnimationNodeStateMachine::rename_node 2022-07-31 18:47:19 -03:00
Rémi Verschelde 880d93c71c
Merge pull request #63537 from antonWetzel/csharp-vector4
`Vector4`, `Vector4i` and `Projection` for Csharp
2022-07-31 23:45:52 +02:00
Hugo Locurcio 0a24d40836
Improve script editor's light theme syntax colors for better readability
New colors were hand-picked to have a better contrast rate,
while still following the general coloring of the previous light theme.

This improves the light theme's accessibility, especially in outdoor
environments with direct sunlight.
2022-07-31 23:40:48 +02:00
Rémi Verschelde c0946d3c38
Merge pull request #63743 from bruvzg/hb_inc_order_and_ver_check 2022-07-31 23:38:00 +02:00
Fabio Alessandrelli faff5e10a5
Merge pull request #63599 from nathanfranke/mp-docs
Document multiplayer replication classes, small changes to MultiplayerSpawner
2022-07-31 23:14:33 +02:00
Rémi Verschelde 214d0b20b0
Merge pull request #62936 from Xwdit/script_doc_inspector_property 2022-07-31 22:28:05 +02:00
bruvzg b54c5c2683
[TextServer] Ensure that built-in library headers are always included before system header, add HarfBuzz version checks for optional features. 2022-07-31 22:52:59 +03:00
MinusKube 7d9a5d79e6 Find a better solution for the script editor member list sometimes not being updated 2022-07-31 21:43:11 +02:00
Yuri Sizov 9f55bd971e Extract EditorResourceConversionPlugin into its own source files and clean up editor includes 2022-07-31 21:14:15 +03:00
antonWetzel 87ebfff46d create vector4, vector4i and projection for csharp 2022-07-31 19:42:34 +02:00
Rémi Verschelde 7686cfec64
Merge pull request #63290 from derammo/derammo_natvis_1
Visual Studio Natvis file works for Variant again
2022-07-31 18:37:33 +02:00
Rémi Verschelde 688226338a
Merge pull request #55646 from Calinou/tweak-voxelgi-defaults 2022-07-31 18:37:14 +02:00
kobewi 64d133747b Add node path drag from remote tree 2022-07-31 18:24:56 +02:00
Hugo Locurcio a0795b4347
Tweak VoxelGI defaults for better quality
Overall brightness is similar to the previous settings, but lighting
now fades off more naturally and reflections feature indirect lighting.
Performance is identical.

- Enable Use Two Bounces by default.
- Decrease Propagation to 0.5 to compensate for the second bounce.
2022-07-31 18:05:24 +02:00
Zae 2febf0ccdb Make `Animation::track_insert_key` return key index 2022-07-31 17:38:49 +02:00
Rémi Verschelde 602e967ba8
Merge pull request #55943 from jvanmourik/master
glTF animation parsing: Changed the 'loop' and 'cycle' animation name keywords to be case-insensitive
2022-07-31 17:28:43 +02:00
foxydevloper 1ff9a09e2c Improve tooltips for grouping/ungrouping nodes 2022-07-31 10:56:32 -04:00
fox 41cc9f9a43 Hide altering custom properties in basic mode
Hides the row for adding and removing custom properties from showing up
when advanced mode is disabled.
2022-07-31 10:38:44 -04:00
Johannes Witt 2fb69afde6
Add GraphEdit.is_node_hover_valid(...) method
This is a virtual method that can be used to add additional error
condition checks while the connection is still being dragged. If true is
returned, the connection is valid. If false is returned, the connection
is invalid and thus not possible (ie. it will not snap). The virtual
method is exposed with an underscore to scripts.
2022-07-31 15:35:26 +02:00
Robin Arys 1cfe3c3f8b Expose load_threaded_request's cachemode to GDScript 2022-07-31 14:04:11 +02:00
derammo 77b31ea365 Visual Studio Natvis file works for Variant again 2022-07-31 07:59:19 -04:00
Rémi Verschelde 89847dc6e3 SCons: Fix creating VS solution with SCons 4.4.0
Fixes #63709.

Co-authored-by: 19PHOBOSS98 <37253663+19PHOBOSS98@users.noreply.github.com>
2022-07-31 13:58:09 +02:00
Rémi Verschelde 475592a3bc
Merge pull request #54102 from skimmedsquare/line-edit-editor-settings-crash-45979 2022-07-31 13:40:31 +02:00
Rémi Verschelde 556cc22dd0
Merge pull request #63656 from raulsntos/fix-signal-bind-csharp 2022-07-31 13:29:31 +02:00
Rémi Verschelde 4aa355b0d1
Merge pull request #63716 from MarcusElg/meter 2022-07-31 13:05:44 +02:00
Sean Kim f1ba63e092 Fix EditorSettings crashes due to nullptr dereference
Fixes #45979

Noted a few places in this file that would have similar errors, so any
access to the EditorSettings singleton has had a check added.
2022-07-31 13:01:38 +02:00
Marcus Elg f629438a8b Add meter suffix to ShapeCast3D margin property 2022-07-31 12:36:15 +02:00
Rémi Verschelde 14445c96ab
Merge pull request #63708 from smix8/navigation_fix_debug_always_on_4.x
Fix Navigation Debug always enabled
2022-07-31 10:09:03 +02:00
Rémi Verschelde bd58300718
Merge pull request #63661 from raulsntos/fix-editor-paths-include
Add `editor_paths.h` include missing in mono module
2022-07-31 09:57:37 +02:00
smix8 30c6fff214 Fix Navigation Debug always enabled
Fixes that Navigation Debug is always enabled in debug builds even while "Visible Navigation" is turned off.
2022-07-31 05:44:39 +02:00
Nathan Franke b7c5aeca8a
document multiplayer replication classes, small changes to multiplayer spawner 2022-07-30 21:38:19 -05:00
Rémi Verschelde 66d1bb84c3
Merge pull request #63697 from YeldhamDev/script_elements_fix
Fix elements not being shown on first selected script/doc
2022-07-31 01:14:57 +02:00
Michael Alexsander c9fe780239 Fix elements not being shown on first selected script/doc 2022-07-30 19:33:58 -03:00
Rémi Verschelde a32f84dda9
Merge pull request #63690 from snailrhymer/rotation-snap-fix
Fix default values for rotation snapping in canvas_item_editor_plugin.cpp
2022-07-31 00:20:07 +02:00
Rémi Verschelde a2c60fbc2b
Merge pull request #48948 from likeich/cleanup_binds
Remove unused bindings in ProjectManager
2022-07-31 00:09:09 +02:00
Rémi Verschelde 6e8f8c0409
Merge pull request #52025 from Calinou/open-in-new-inspector-use-packedstringarray
Use a PackedStringArray for the "open in new inspector" editor setting
2022-07-31 00:08:06 +02:00
Rémi Verschelde 73f5742f94
Merge pull request #50539 from Calinou/material-hide-triplanar-subproperties-when-disabled
Hide triplanar subproperties when triplanar is disabled in BaseMaterial3D
2022-07-31 00:04:37 +02:00
Rémi Verschelde 280067e8ec
Merge pull request #49340 from Calinou/decal-modulate-affect-emission
Make Decal's `modulate` property affect emission color as well
2022-07-31 00:04:08 +02:00
Rémi Verschelde 960567e17b
Merge pull request #63692 from rburing/nonexistent_debug_shapes_dont_move
Don't move nonexistent debug shapes
2022-07-31 00:03:40 +02:00