Rémi Verschelde
11d1844e66
Merge pull request #85869 from paulloz/dotnet-warning-out-of-date-properties
...
.NET: Add a warning in the inspector when properties might be out of sync
2024-01-03 15:43:41 +01:00
Rémi Verschelde
9b2686c333
Merge pull request #84289 from bruvzg/icu741
...
ICU4C: Update to version 74.1
2024-01-03 15:41:59 +01:00
Rémi Verschelde
8be3c4b73f
Merge pull request #86341 from Vilcrow/fix-self-completion
...
Fix the autocomplete function for the 'self' keyword.
2024-01-03 10:00:19 +01:00
Rémi Verschelde
ca7fb29203
Merge pull request #84800 from gshadows/fix_options_range
...
Fix unlimited project option ranges that could cause crashes.
2024-01-03 09:59:31 +01:00
Rémi Verschelde
22e880ad20
Merge pull request #83163 from Chubercik/vectorXi_dist_methods
...
Implement `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`
2024-01-03 09:58:36 +01:00
S.V.I. Vilcrow
c8fc824608
Fix the autocomplete function for the 'self' keyword.
2024-01-02 20:47:41 +03:00
Rémi Verschelde
a1d45858e0
Merge pull request #86504 from lyuma/gltf_reimport_textures_merry_xmas
...
gltf: Fix three bugs which prevented extracted textures from being refreshed
2024-01-02 18:05:19 +01:00
Rémi Verschelde
2e1725bef6
Merge pull request #86088 from dalexeev/gds-fix-static-func-as-callable-in-static-context
...
GDScript: Fix accessing static function as `Callable` in static context
2024-01-02 18:05:16 +01:00
Rémi Verschelde
b5c6e870e8
Merge pull request #82264 from dalexeev/core-builtin-methods-as-callables
...
Core: Allow methods of built-in `Variant` types to be used as Callables
2024-01-02 18:05:05 +01:00
Rémi Verschelde
06bb9f28e7
Merge pull request #86704 from AThousandShips/len_fix
...
[GDScript] Add `StringName` support to `@GDScript.len`
2024-01-02 15:09:09 +01:00
Rémi Verschelde
ac83ad1e65
Merge pull request #80390 from EddieBreeg/issue_80358
...
Fix potential integer underflow in rounded up divisions
2024-01-02 15:08:37 +01:00
A Thousand Ships
045d921044
[GDScript] Add StringName
support to @GDScript.len
2024-01-02 14:28:34 +01:00
EddieBreeg
8747c67d9e
Fix potential integer underflow in rounded up divisions
...
A new `Math::division_round_up()` function was added, allowing for easy
and correct computation of integer divisions when the result needs to
be rounded up.
Fixes #80358 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-02 14:14:47 +01:00
HolonProduction
76fd7ec394
Improve sorting of enum autocompletion
2023-12-31 14:35:08 +01:00
Aaron Franke
8acef03cb5
Add export settings to the export dialog for GLTF
2023-12-30 19:57:39 -06:00
Pedro J. Estébanez
fe8c217b7c
Fix warning in MSVC
2023-12-27 17:50:45 +01:00
Mikael Klasson
a2b183067c
fix: use correct number in GD0103 link
2023-12-27 20:30:59 +09:00
Lyuma
fea4165ca8
gltf: fix three bugs which prevented extracted textures from being refreshed.
...
1. Extracted texture paths in `GLTFDocument::_parse_image_save_image` at the project root started with res:/// which broke cache invalidation
2. md5 hashes were not being written to generator_parameters for new imports, which led Godot to think the file was manually created.
3. `EditorFileSystem::reimport_append` must emit the `resources_reimported` signal in order for the resource cache to be updated.
2023-12-25 01:03:40 -08:00
Paul Joannon
0818d015db
Inspector ⚠️ when C# props might be out of date
2023-12-22 23:27:13 +01:00
G-Shadow
cbc8ae660c
Fix unlimited project option ranges that could cause crashes.
2023-12-22 09:14:45 +03:00
Raul Santos
abd7927325
C#: Use string literal instead of nameof
...
Using `nameof` expressions with method parameters requires C# 11 and we're currently on C# 10.
2023-12-21 03:11:47 +01:00
Yuri Sizov
c28a091a09
Merge pull request #86336 from LunaticInAHat/dds_implicit_linearsize
...
Support unspecified linear size in DDS files
2023-12-20 15:08:17 +01:00
Yuri Sizov
1183bdefe4
Merge pull request #86257 from Faless/mp/fix_complete_auth
...
[MP] Fix `complete_auth` notifying the wrong peer
2023-12-20 15:08:02 +01:00
LunaticInAHat
a344d7f906
Support unspecified linear size in DDS files
...
Not all exporters choose to populate that (optional) header field.
2023-12-19 16:42:10 -05:00
Yuri Sizov
fc082dd735
Merge pull request #86091 from dalexeev/gds-fix-pot-gen-skips-some-nodes
...
GDScript: Fix POT generator skips some nodes
2023-12-19 20:33:09 +01:00
Yuri Sizov
dee2604d99
Merge pull request #84729 from nickyfoo/add-navigationserver-getters
...
Add missing getters to navigation servers
2023-12-19 20:32:46 +01:00
Yuri Sizov
ef79e5d9dd
Merge pull request #82983 from Repiteo/c#-godotsharp-nullable-classes
...
[C#] Enable nullability for variant classes
2023-12-19 20:32:30 +01:00
Yuri Sizov
c8d0325a93
Merge pull request #82955 from paulloz/testing-source-generators
...
Add unit tests for C# source generators
2023-12-19 20:32:26 +01:00
Yuri Sizov
e18659c69d
Merge pull request #82872 from jsjtxietian/require-editor-restart-when-csg-gizmo-color-changed
...
Prompt require editor restart to user when gizmo color changed
2023-12-19 20:32:20 +01:00
Nicholas Foo
e7ee672120
Add getters to navigation servers
...
Add virtual functions and bind to navigation servers
Implement getters
Add documentation
2023-12-19 19:51:49 +01:00
msreis
f1cc14d525
Fix missing time for some script functions in profiler
...
Fixes the issue by adding a mechanism by which the functions that were
previously disappearing can be profiled too. This is optional with
an editor setting, since collecting more information naturally slows the engine
further while profiling.
Fixes #23715 , #40251 , #29049
2023-12-19 19:42:21 +01:00
Paul Joannon
b352bdc8cb
Add tests for source generators
...
- Bootstrap xUnit project to test source generators
- Implement source generator tests
- Better tests structure (put test data in cs files)
- Enable `ScriptSerializationGeneratorTests`
- Enable `ScriptPathAttributeGeneratorTests`
- Fix `NesterClass` -> `NestedClass`
- Use `Path.Combine` when dealing with paths
- Copy test data to the output directory
2023-12-19 18:26:52 +01:00
Yuri Sizov
f478a599fc
Merge pull request #85975 from Repiteo/c#-null-ptr-exception
...
C#: Implement function to throw on null pointers
2023-12-19 13:02:24 +01:00
Yuri Sizov
38d8ca0dc1
Merge pull request #85703 from TitanNano/jovan/gdscript_foreign_script_properties
...
Make GDScriptAnalyzer aware of properties from other languages
2023-12-19 13:02:19 +01:00
Yuri Sizov
a6f806f8da
Merge pull request #85487 from vnen/gdscript-static-register-annotations
...
GDScript: Make annotations register statically in parser
2023-12-19 13:02:09 +01:00
Yuri Sizov
ec648fcfd8
Merge pull request #85447 from smix8/gridmap_navlayer_leftover
...
Remove GridMap navigation_layers leftover
2023-12-19 13:01:49 +01:00
Yuri Sizov
d4806d2d84
Merge pull request #85253 from sandygk/fix-reachable-polygon-closest-to-end-point
...
[Navigation] Do not use travel cost for minimum when re-selecting end point
2023-12-19 13:01:45 +01:00
Yuri Sizov
714e27393a
Merge pull request #84652 from timothyqiu/enum-pun
...
Avoid punning enum names in documentation
2023-12-19 13:01:10 +01:00
Jovan Gerodetti
030aa41a99
GDScriptAnalyzer is unaware of properties from other Languages
...
Co-authored-by: K. S. Ernest (iFire) Lee <fire@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-18 22:03:30 +01:00
Thaddeus Crews
a0db88335a
Implement function to throw on null pointers
...
• Specifically: checks if ptr == IntPtr.Zero
2023-12-17 08:52:20 -06:00
Fabio Alessandrelli
4826c14d20
[MP] Fix complete_auth notifying the wrong peer
...
The SceneMultiplayer complete_auth method was not configuring the
multiplayer peer correctly, causing it to potentially send the
notification to the wrong peer, on the wrong channel, and/or with an
incorrect transfer mode.
2023-12-17 12:27:24 +01:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
Yuri Sizov
30e77a6321
Merge pull request #86209 from YuriSizov/main-fix-editor-only-module-classes
...
Correctly register editor-only module classes with the API
2023-12-16 17:50:07 +01:00
Yuri Sizov
4e29b16166
Merge pull request #85967 from BlueCube3310/squish-ra-as-rg-fix
...
Fix `squish` DXT5 RA-As-RG channel swapping
2023-12-16 17:49:54 +01:00
Yuri Sizov
671f59f9be
Merge pull request #85842 from BlueCube3310/rgtc-compression
...
Improve normal map VRAM Compression with RGTC
2023-12-16 17:49:51 +01:00
Yuri Sizov
f4b32b228a
Merge pull request #85603 from eldidou/speed-up-get-must-clear-dependencies
...
Speed up `GDScript::get_must_clear_dependencies()`
2023-12-16 17:49:47 +01:00
Yuri Sizov
abe19496ac
Merge pull request #85163 from BastiaanOlij/openxr_play_area
...
OpenXR: Add support for retrieving play area
2023-12-16 17:49:34 +01:00
Yuri Sizov
4b258ccdd3
Merge pull request #82884 from KoBeWi/commit_message_cached,_please_refresh
...
Clarify some descriptions regarding resource cache
2023-12-16 17:49:20 +01:00
Yuri Sizov
0f8c955c1a
Correctly register editor-only module classes with the API
2023-12-15 18:58:30 +01:00
Yuri Sizov
58e68590a3
Merge pull request #81220 from BlueCube3310/dds-formats-extended
...
Support loading more DDS formats
2023-12-14 21:22:29 +01:00
Yuri Sizov
f79f2ef801
Merge pull request #86065 from bruvzg/non_vis_no_draw
...
[TextServer] Do not draw non-visual characters.
2023-12-14 17:38:53 +01:00
Yuri Sizov
203c8c31d3
Merge pull request #85071 from Rubonnek/remove-unnecessary-assignments
...
Remove unnecessary assignments
2023-12-14 17:38:34 +01:00
Yuri Sizov
4cf6325aa1
Merge pull request #84660 from groud/better_tileset_polygons
...
Move tile transforms handling cache to TileData
2023-12-14 17:38:14 +01:00
Yuri Sizov
c978f6bb3d
Merge pull request #82980 from Repiteo/c#-godotsharp-nullable-structs
...
[C#] Enable nullability for variant structs
2023-12-14 17:38:05 +01:00
Yuri Sizov
5c99558d16
Merge pull request #76591 from HolonProduction/complete-tween
...
Autocomplete properties in `tween_property`
2023-12-14 17:37:53 +01:00
BlueCube3310
c278cc3946
Add support for loading more DDS formats
2023-12-14 15:18:35 +01:00
Gilles Roudière
18fe0bd025
Move tile transforms handling cache to TileData
2023-12-13 17:44:59 +01:00
Wilson E. Alvarez
80fb8db31f
Remove unnecessary assignments
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-13 11:06:26 -05:00
Danil Alexeev
1aa242f7c4
GDScript: Fix POT generator skips some nodes
2023-12-13 13:06:59 +03:00
HolonProduction
5f72254d4d
Fix regression when autocompleting subscript on get node
2023-12-13 10:54:40 +01:00
Rémi Verschelde
edf64243bf
Merge pull request #85996 from nikitalita/fix-next_ogg_packet
...
Fix `OggPacketSequencePlayback::next_ogg_packet()` never returning false
2023-12-13 10:31:58 +01:00
Rémi Verschelde
41365c6c8b
Merge pull request #70315 from RandomShaper/d3d12_mesa
...
Direct3D 12 Rendering Driver (Mesa NIR approach)
2023-12-12 21:58:57 +01:00
Danil Alexeev
10dcb21d8b
GDScript: Fix accessing static function as Callable
in static context
2023-12-12 22:19:39 +03:00
Pedro J. Estébanez
2f47c57385
Add Direct3D 12 RenderingDevice implementation
2023-12-12 19:10:04 +01:00
bruvzg
575e1201cb
[TextServer] Do not draw non-visual characters.
2023-12-12 12:17:10 +02:00
Rémi Verschelde
84692c6252
Navigation: Fix GCC 12.3 -Wtype-limits
warnings
2023-12-12 11:00:06 +01:00
Aaron Franke
52f1b86ebc
Fix referring to ResourceImporterScene static importers via instances
2023-12-11 20:01:39 -06:00
Rémi Verschelde
ae7c533937
Merge pull request #84686 from dsnopek/webxr-msaa
...
Add MSAA support for WebXR
2023-12-12 00:17:16 +01:00
Rémi Verschelde
8f2b5cc109
Merge pull request #82899 from aaronfranke/import-settings-dialogs
...
Rename ImportSettings dialogs to have "Dialog" in the name
2023-12-12 00:15:59 +01:00
Rémi Verschelde
4e2350b1af
Merge pull request #82661 from bruvzg/custom_ellipsis
...
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-12 00:15:34 +01:00
Rémi Verschelde
9eb47ce361
Merge pull request #75098 from smix8/map_random_point_queries_4.x
...
Add NavigationServer random point queries
2023-12-12 00:15:05 +01:00
David Snopek
275c496bc8
Add MSAA support for WebXR
2023-12-11 09:01:24 -06:00
Bastiaan Olij
69a41b3d39
OpenXR: Add support for retrieving play area
2023-12-11 10:29:03 +11:00
kobewi
a1aa1a468f
Clarify some descriptions regarding resource cache
2023-12-10 20:30:01 +01:00
nikitalita
86a914575f
fix next_ogg_packet
never returning false
2023-12-10 02:47:52 -08:00
Thaddeus Crews
08e44123cb
[C#] Enable nullability for variant classes
2023-12-09 12:42:10 -06:00
Thaddeus Crews
db7a643e1c
[C#] Enable nullability for variant structs
2023-12-09 12:41:53 -06:00
BlueCube3310
1224129c50
Fix squish DXT5 RA-As-RG channel swapping
2023-12-09 18:07:25 +01:00
eldidou
0d77c3e092
Speed up GDScript::get_must_clear_dependencies()
...
get_must_clear_dependencies() has a N^3*log(N) time complexity, and this can very quickly slow down the quitting process as more gdscripts are added in a project.
This change improves it to N^2*log(N).
Instead of using all the inverted dependencies, we do the same with all (non-inverted) dependencies, which is N times faster.
Fixes #85435
2023-12-09 13:02:38 +01:00
Sofox
7b2fd342e3
Fixed RegEx search_all for zero length matches/lookahead/lookbehind
2023-12-08 17:54:58 +00:00
Yuri Sizov
6e8bba8569
Merge pull request #80900 from BlueCube3310/dds-loading-refactor
...
Refactor DDS loading code
2023-12-08 18:45:42 +01:00
Yuri Sizov
3b9347d5b2
Merge pull request #81662 from Repiteo/container-type-vector
...
Change GDScriptDataType `container_element_type` to vector container
2023-12-08 16:57:53 +01:00
BlueCube3310
e6766da6ac
Refactor DDS loading code
2023-12-08 15:43:06 +01:00
smix8
64a56245d8
Add NavigationServer random point queries
...
Adds query functions to get random points on navigation mesh to the NavigationServer.
2023-12-08 00:18:05 +01:00
zinefer
72d18d50a4
Bugfix: Replace // with \\ before sending path to Blender
...
On Windows, Blender treats //fileshare/assets/model.blend as a relative
path which will not be found. Instead, replace the first two chars with
`\\` which when escaped becomes `\\\\`.
2023-12-07 15:23:11 -07:00
Rémi Verschelde
a311a4b162
Merge pull request #83976 from BastiaanOlij/gles3_msaa_scaler
...
Add 3D MSAA and scaling support to GLES3
2023-12-07 14:36:42 +01:00
BlueCube3310
5837e1fe3f
Improve normal map VRAM Compression with RGTC
2023-12-06 15:28:18 +01:00
Thaddeus Crews
5cf0d772bc
Change container_element_type to vector container
2023-12-05 08:51:49 -06:00
Rémi Verschelde
7c8dfea9e3
Merge pull request #85196 from HolonProduction/completion-filter-groups
...
Filter groups and categories from autocompletion
2023-12-05 13:05:18 +01:00
Rémi Verschelde
dc367bec38
Merge pull request #79386 from HolonProduction/completion-get-child-static
...
Improve autocompletion with `get_node`
2023-12-05 13:05:11 +01:00
Haoyu Qiu
08b1354b36
Set language encoding flag when using ZIPPacker
...
When non-ASCII filenames are used, this indicates that the encoding is
UTF-8. Programs like ZIPReader can then parse the filename correctly.
2023-12-05 17:12:12 +08:00
Bastiaan Olij
caddce14dd
Add 3D MSAA and scaling support to GLES3
2023-12-05 10:01:00 +11:00
Rémi Verschelde
d75c44658c
Merge pull request #85373 from DmitriySalnikov/update_singletons
...
Fix updating cached singletons when reloading GDScripts
2023-12-04 23:13:13 +01:00
Rémi Verschelde
3e7cc5ec32
Merge pull request #85271 from YuriSizov/core-check-please!
...
Correctly check scripts that must inherit `EditorPlugin`
2023-12-04 23:12:24 +01:00
Rémi Verschelde
257cc51ba4
Merge pull request #85048 from BastiaanOlij/openxr_remove_grip_touch
...
Remove unused grip touch action from default OpenXR action map
2023-12-04 23:09:12 +01:00
Rémi Verschelde
2f4f87dc56
Merge pull request #85002 from alesliehughes/tinyexr_mem_leak
...
Fix memory leak on error paths in tinyexr loader
2023-12-04 23:08:47 +01:00
Rémi Verschelde
8a9e3ad8d5
Merge pull request #84816 from Scony/add-obstacle-navserver-tests
...
Fix memory leak in 'NavigationServer3D' involving static obstacles
2023-12-04 23:05:39 +01:00
Rémi Verschelde
94edf0f9a1
Merge pull request #80326 from MewPurPur/no-exp-with-zero
...
Remove exp hint of a few properties
2023-12-04 22:57:09 +01:00
HolonProduction
c8889a7fe7
Improve autocompletion with get_node
2023-12-04 17:06:46 +01:00
HolonProduction
e253250814
Filter groups and categories from autocompletion
2023-12-04 15:48:29 +01:00