Commit Graph

9321 Commits

Author SHA1 Message Date
Fabio Alessandrelli c1c6911b5c [MP] Improve ReplicationEditor UX
Use an option button for the replication mode making sync and watch (now
"Always" and "On Change") mutually exclusive.
2023-08-30 15:37:42 +02:00
Fabio Alessandrelli 711e96edc4 [MP] Make replication mode an enum + optimizations
REPLICATION_MODE_ALWAYS (sync) and REPLICATION_MODE_ON_CHANGE (watch)
are now mutually exclusive.

Prevent invalid NodePath from being added to the config.

Optimize the replication config loading by composing the lists on
demand.
2023-08-30 15:00:39 +02:00
azuloo 7ab0582625 Fix typo in WebRTCPeerConnection documentation 2023-08-30 14:02:33 +03:00
Rémi Verschelde a0d12cf93f
Merge pull request #65558 from the-sink/replication-editor
Allow enter key to add properties to replication editor list
2023-08-30 12:15:38 +02:00
Rémi Verschelde 3f7c1bccef
Merge pull request #81103 from bruvzg/svg_em
[TextServer] Fix SVG emoji placement.
2023-08-30 08:46:39 +02:00
Rémi Verschelde 34a4885579
Merge pull request #79570 from BastiaanOlij/new_pico_interactions
Change to new PICO interaction profiles
2023-08-30 08:45:04 +02:00
Rémi Verschelde 8edc0b43b9
Merge pull request #78634 from Sauermann/fix-notification-order
Fix `Object::notification` order
2023-08-30 08:44:36 +02:00
the-sink 8f80ebc035 Allow enter key to add properties to replication editor list 2023-08-29 19:29:01 -07:00
Bastiaan Olij 3a89bb388d Change to new PICO interaction profiles 2023-08-30 10:25:35 +10:00
Markus Sauermann c4705a590b Fix Object::notification order
Previously the `p_reversed` parameter didn't influence the order
in a correct way.
Also script overridden _notification functions were not called in
the correct order.

To fix this some `notification` functions had to add a `p_reversed`
parameter.

This made it necessary to adjust cpp-bindings.

Co-authored-by: David Snopek <dsnopek@gmail.com>
2023-08-30 00:15:55 +02:00
BlueCube3310 cbbcaa31d5
Fix grayscale dds loading 2023-08-29 19:24:22 +02:00
clayjohn 0045dc204c Revert "Implement loading DDS textures at run-time"
This reverts commit 34ab1c8a36.
2023-08-29 14:25:16 +02:00
Rémi Verschelde 76d318dbd1
Merge pull request #75778 from KoBeWi/_vp
Expose `_validate_property()` for scripting
2023-08-29 12:41:27 +02:00
Rémi Verschelde 91c5273ec5
Merge pull request #75656 from YuriSizov/core-iconic-builtins
Add a script method to get its class icon
2023-08-29 12:41:03 +02:00
Chia-Hsiang Cheng 3a3ebbf4c9 Ensure the visibility is updated when entering the tree 2023-08-29 15:11:57 +08:00
bruvzg 29bad2928a
[TS] Fix SVG emoji placement. 2023-08-29 08:46:15 +03:00
Rémi Verschelde ba1089689a
Merge pull request #80954 from bruvzg/sp_per_font
[Text Server] Store extra spacing of individual font variations.
2023-08-28 20:37:58 +02:00
Raul Santos 6d7d083254
C#: Replace `StringNameCache` with `SNAME` 2023-08-28 15:41:26 +02:00
kobewi 67db4693eb Expose _validate_property() for scripting 2023-08-28 15:18:48 +02:00
Rémi Verschelde fc37fd7b98
Merge pull request #81039 from MewPurPur/fix-hex-number-highlighting-after-separator
Fix highlighting of hex numbers with separators
2023-08-28 12:10:11 +02:00
Rémi Verschelde 75bc6866a4
Merge pull request #81037 from AThousandShips/openxr_register
Ensure OpenXR classes are declared properly
2023-08-28 12:09:47 +02:00
Rémi Verschelde 231daee7b4
Merge pull request #81033 from Faless/mp/fix_watch_prop_remove
[MP] Fix watch properties not being correctly removed
2023-08-28 12:09:01 +02:00
Rémi Verschelde ea3c5f96e5
Merge pull request #80998 from MewPurPur/fix-my-little-oopsie-daisy
Move the new RegEx icons into their respective module
2023-08-28 12:06:16 +02:00
Rémi Verschelde 359bb38330
Merge pull request #80862 from BlueCube3310/dds-grayscale-load-fix
Make DDS loading code only check for R channel bitmask when loading grayscale images
2023-08-28 12:05:29 +02:00
A Thousand Ships c23bd8b143 Ensure OpenXR classes are declared properly
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2023-08-28 09:37:04 +02:00
MewPurPur d3946242f4 Fix highlighting of hex numbers with separators 2023-08-28 09:52:40 +03:00
Fabio Alessandrelli 3860f2e366 [MP] Fix watch properties not being correctly removed 2023-08-27 10:53:04 +02:00
Yuri Sizov b6c4efe1b1 Merge pull request #80964 from dalexeev/gds-allow-use-local-consts-as-types
GDScript: Allow use local constants as types
2023-08-25 21:26:44 +02:00
MewPurPur 3f79c69d70 Move the new RegEx icons into their respective module 2023-08-25 18:08:45 +03:00
Danil Alexeev 68a567bd13
GDScript: Allow use local constants as types 2023-08-25 17:04:04 +03:00
Danil Alexeev 89429b0273
GDScript: Fix lambda resolution with cyclic references 2023-08-25 16:29:11 +03:00
Yuri Sizov 2c77f07aaa Add a script method to get its class icon
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-08-24 13:05:41 +02:00
bruvzg 5453503697
[Text Server] Store extra spacing of individual font variations. 2023-08-24 11:58:12 +03:00
BlueCube3310 1d51c559e7
Make DDS loading code only check for R channel mask when loading grayscale images. 2023-08-21 22:21:17 +02:00
Rémi Verschelde e43370d0fa
Merge pull request #80686 from azuloo/lsp-thread-connection-error
Fixes LSP connection error when launched in a separate thread
2023-08-21 19:26:43 +02:00
Rémi Verschelde ca00520525
Merge pull request #80669 from BlueCube3310/DDS-format-indexed-remove
Remove `DDS_INDEXED` from DDSFormat
2023-08-21 19:26:38 +02:00
Rémi Verschelde 7d3bee73e4
Merge pull request #80247 from dalexeev/gds-for-loop-var-static-typing
GDScript: Add static typing for `for` loop variable
2023-08-21 19:26:32 +02:00
Rémi Verschelde 90e96e055f
Merge pull request #80789 from akien-mga/scons-ktx-requires-basis
SCons: Make ktx module require basis_universal
2023-08-21 08:24:36 +02:00
Rémi Verschelde 4bba963f0a
Merge pull request #80782 from KoBeWi/MessLibrary
Cleanup MeshLibrary changed signals
2023-08-21 08:23:48 +02:00
Rémi Verschelde a723a8d822
Merge pull request #80774 from geowarin/fix-grid-map-physical
Fix GridMap shortcuts that should not be physical
2023-08-21 08:22:56 +02:00
Rémi Verschelde 9becff0c54
Merge pull request #80745 from dalexeev/gds-improve-docgen
GDScript: Improve DocGen
2023-08-21 08:22:31 +02:00
Aaron Franke da89753cc6
Fix doubly-reserved unique names in GLTF scene name assignment 2023-08-20 00:03:56 -05:00
Hugo Locurcio 469c462b76
Add missing tutorials to documentation classes 2023-08-19 20:29:24 +02:00
Danil Alexeev 34d432807f
GDScript: Improve DocGen 2023-08-19 19:54:43 +03:00
Rémi Verschelde 969a35ae2b
SCons: Make ktx module require basis_universal
Fixes #80786.
2023-08-19 16:49:29 +02:00
Rémi Verschelde 5444afae63
Merge pull request #76572 from acazuc/ktx_format_support
Add support for KTX image format so that we can use Basis Universal for GLTF
2023-08-19 13:00:35 +02:00
kobewi ecc3944b1e Cleanup MeshLibrary changed signals 2023-08-19 11:56:31 +02:00
bruvzg 07d859de25
[TextServer] Fix issues with character breaks, add more tests. 2023-08-19 11:49:34 +03:00
acazuc a00cf02241 Add support for KTX & KTX2 image format
Add support glTF KHR_texture_basisu extension
2023-08-19 10:27:29 +02:00
Geoffroy Warin 4789759035 Fix GridMap shortcuts that should not be physical 2023-08-19 02:49:41 +02:00
Rémi Verschelde b51ee8b029
Merge pull request #80650 from bruvzg/comp_char_fix
[TextServer] Fix system font fallback and caret/selection behavior for composite characters.
2023-08-18 17:24:54 +02:00
Rémi Verschelde a2a1ed1aac
Merge pull request #80576 from KurtBliss/master
Fixed editor filesystem/import properties not being caught by the doctool.
2023-08-18 15:43:58 +02:00
Rémi Verschelde 08d599d89b
Merge pull request #80463 from aaronfranke/gltf-center-of-mass
GLTF: Add center of mass property
2023-08-18 09:31:17 +02:00
Rémi Verschelde 8a02cd0883
Merge pull request #80419 from Faolan-Rad/fix-multi_actionsets
Properly load multiple action sets in XR
2023-08-18 09:30:52 +02:00
Rémi Verschelde a017e9c698
Merge pull request #80119 from MewPurPur/svg-opacities-standardization
Optimize and fix up some SVGs
2023-08-18 09:30:23 +02:00
Danil Alexeev 6c59ed9485
GDScript: Add static typing for `for` loop variable 2023-08-17 20:54:34 +03:00
Rémi Verschelde 5282974c61
SCons: Fix ThorVG build option in TextServers with #80095 2023-08-17 13:40:19 +02:00
Rémi Verschelde 08690d6af5
Merge pull request #80095 from capnm/update_thorvg_0.10.0
Update ThorVG to v0.10.0
2023-08-17 12:29:06 +02:00
Rémi Verschelde 4332a798f9
Merge pull request #79922 from Auburn/cellular-jitter-fix
FastNoiseLite: Fix cellular jitter using incorrect default value
2023-08-17 12:28:41 +02:00
pidogs f476b74ecf
Make CSGShape follow curve's tilt in Path mode
Fixes #65634.
2023-08-17 12:01:29 +02:00
Rémi Verschelde e71ec0b5eb
Merge pull request #80365 from dalexeev/gds-allow-mix-indent-on-blank-lines
GDScript: Allow mixed indentation on blank lines
2023-08-17 11:25:04 +02:00
Rémi Verschelde 37d213b24e
Merge pull request #79972 from smix8/navgenerator_multithreading_4.x
Add multi-threaded NavMesh baking to NavigationServer
2023-08-17 11:22:11 +02:00
Rémi Verschelde 1fda5ea324
Merge pull request #79529 from geowarin/gridmap_shortcuts
Make gridmap shortcuts editable and not conflict with other plugins
2023-08-17 11:21:22 +02:00
Rémi Verschelde 4f00f925b3
Merge pull request #78552 from dalexeev/gds-check-get-node-in-static-func
GDScript: Check `get_node()` shorthand in static functions
2023-08-17 11:20:32 +02:00
Danil Alexeev 00ad9e484e
GDScript: Allow mixed indentation on blank lines 2023-08-17 10:54:43 +03:00
Rémi Verschelde c3fd8752d2
Merge pull request #80612 from akien-mga/scons-disable-exception-handling
SCons: Disable C++ exception handling
2023-08-16 16:56:07 +02:00
Rémi Verschelde 6203f56875
Merge pull request #78865 from MewPurPur/improve-docs-top-sections-VFX
Improve the top docs sections of VFX classes
2023-08-16 16:54:32 +02:00
azuloo a5710d468b Fixes LSP connection error when launched in a separate thread 2023-08-16 16:29:28 +03:00
A Thousand Ships f7fa72c808 Add function `ZIPReader::file_exists` 2023-08-16 15:10:32 +02:00
Rémi Verschelde 3907e53ff6
SCons: Disable C++ exception handling
Upon investigating the extremely slow MSVC build times in #80513, I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.

This is wasteful on multiple aspects:

- Binary size: Around 20% binary size reduction with exceptions disabled
  for both MSVC and GCC binaries.
- Compile time:
  * More than 50% build time reduction with MSVC.
  * 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.

Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
2023-08-16 10:23:34 +02:00
Rémi Verschelde 3d1e135bc7
Merge pull request #80656 from konczg/fix_extension_wrapper_extension_casts
Fix casts of XR handles in OpenXRExtensionWrapperExtension
2023-08-16 09:17:48 +02:00
Rémi Verschelde f8aa7caf1d
Merge pull request #80642 from dsnopek/text_server_adv_gdextension-2
Use `String::resize()` and `CharString` in `text_server_adv` again
2023-08-16 09:16:38 +02:00
Rémi Verschelde 1d852cb75e
Merge pull request #80631 from Repiteo/C#-delegate-docstring
C#: Fixed delegate docstring logic
2023-08-16 09:15:50 +02:00
Rémi Verschelde db1a5dc41a
Merge pull request #80630 from Repiteo/C#-paramref
C#: paramref now properly tagged in documentation
2023-08-16 09:15:27 +02:00
Rémi Verschelde 8c3d79ac65
Merge pull request #80628 from Repiteo/C#-CS1574
C#: Implement `proxy_name` for EnumInterface
2023-08-16 09:15:04 +02:00
Rémi Verschelde b44867b947
Merge pull request #77975 from sakrel/shader_debug_info
Add support for GLSL source-level debugging with RenderDoc
2023-08-16 09:11:23 +02:00
BlueCube3310 e92b5b405f
Remove DDS_Indexed from DDSFormat enum 2023-08-15 21:34:00 +02:00
Gabor Koncz 61455ff87e Fix casts of XR handles in OpenXRExtensionWrapperExtension
On 32-bit systems, XR handles are defined as uint64_t, so conversion from XR handles to uint64_t requires C-style casts.
2023-08-15 14:55:19 +02:00
bruvzg 5d3fcc5766
[TextServer] Fix system font fallback and caret/selection behavior for composite characters. 2023-08-15 11:42:40 +03:00
David Snopek d585ca546b Use `String::resize()` and `CharString` in text_server_adv again 2023-08-14 18:12:05 -05:00
Thaddeus Crews f735aa1fc2
C#: Include argument types in generated methods
• Prevents warnings over ambiguous references with Compat.cs
• Fix typo in Compat.cs causing AddCodeCompletionOption documentation to inherit itself
2023-08-14 16:15:49 -05:00
Thaddeus Crews 10cc46196b
C#: paramref now properly tagged in documentation
• If part of a signal, the old documentation style is used, as it points to a delegate & doesn't have actual parameters to reference
2023-08-14 15:16:52 -05:00
Thaddeus Crews 4d7c07a132
C#: Fixed delegate docstring logic
• No longer produces double-summaries
2023-08-14 11:17:47 -05:00
Thaddeus Crews 51154a86a1
Implement proxy_name for EnumInterface
• Fixes generated CS1574 warnings
2023-08-14 10:47:14 -05:00
Rémi Verschelde 6b5e44f3ca
Merge pull request #80510 from dalexeev/gds-fix-access-inner-class-from-inside
GDScript: Fix "Identifier not found" error when accessing inner class from inside
2023-08-14 15:28:57 +02:00
KurtBliss 300ecfab89 Fixed editor filesystem/import properties not being caught by the doctool
Defined glft editor properties in editor_settings
Added documentation descriptions and entries
2023-08-14 06:06:28 -04:00
Rémi Verschelde 06eaa8c95c
Merge pull request #80543 from mandryskowski/csgmesh_docs
Clarify the behavior of CSGMesh using ArrayMesh
2023-08-14 09:37:22 +02:00
Rémi Verschelde 8a9e04bc94
Merge pull request #80521 from scgm0/master
C#: Fix exporting for Android
2023-08-14 09:36:58 +02:00
Rémi Verschelde e1bb9b523d
Merge pull request #80506 from sepTN/fix-lambda-get_method
Fix `get_method` from named lambda
2023-08-14 09:36:35 +02:00
MewPurPur 93318d2dd5 Optimize and fix up some SVGs 2023-08-13 17:48:17 +03:00
Markus Sauermann fa8fec2cc1 Fix superfluous `"` in error message 2023-08-13 00:38:10 +02:00
sakrel 80a36ff985 Add support for GLSL source-level debugging with RenderDoc (`--generate-spirv-debug-info`) 2023-08-12 14:56:49 +02:00
mandryskowski 378f835a9c
Clarify the behaviour of CSGMesh3D using ArrayMesh 2023-08-12 13:21:27 +02:00
scgm0 05bc070f7c C#: Fix exporting for Android 2023-08-12 09:22:49 +08:00
MewPurPur 57d05ffc66 Improve the top docs sections of VFX classes 2023-08-11 21:17:04 +03:00
Aaron Franke d12b0787af
GLTF: Add center of mass property 2023-08-11 11:27:01 -05:00
Septian 793cc080cb Fix `get_method` from named lambda 2023-08-11 20:31:08 +07:00
Danil Alexeev fb45cab133
GDScript: Fix "Identifier not found" error when accessing inner class from inside 2023-08-11 11:22:01 +03:00
Geoffroy Warin f80f4eb390 Make gridmap shortcuts editable and not conflict with other plugins
Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-08-10 16:55:59 +02:00
Faolan a60cf6ed6c Properly load multiple action sets in XR 2023-08-09 21:40:16 -04:00