summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2023-01-02Optimizations for GDScript VMJuan Linietsky
* Removed instruction argument count and instruction prefetching. This is now done on the fly. Reduces jumps. * OPCODE_DISPATCH now goes directly to the next instruction, like in Godot 3.x. I have nothing I can use to test performance, so if anyone wants to lend a hand and compare with master (both on debug and release), it would be very welcome.
2022-12-30Merge pull request #62688 from cdemirer/assignments-and-typesGeorge Marques
Fixes https://github.com/godotengine/godot/issues/62650
2022-12-30Merge pull request #70613 from vonagam/fix-enum-as-constantGeorge Marques
Fixes https://github.com/godotengine/godot/issues/54018 Fixes https://github.com/godotengine/godot/issues/70213 Fixes https://github.com/godotengine/godot/issues/70495
2022-12-30Merge pull request #70511 from raulsntos/dotnet/fix-update-script-class-infoIgnacio Roldán Etcheverry
C#: Skip getting class info for unbound generics
2022-12-28C#: Avoid generic types in the script path attribute generatorRaul Santos
- Avoid generic types in `ScriptPathAttributeGenerator`, this means they won't be added to the `[AssemblyHasScripts]` attribute and a `[ScriptPath]` attribute won't be added to the class. Since generic classes can't be used as scripts they shouldn't use those attributes, this also makes CSharpScript consider those types invalid since they won't be added to the script/type map. - Avoid generic types in `ScriptManagerBridge.LookupScriptsInAssembly`. - Set `outMethodsDest` in `ScriptManagerBridge.UpdateScriptClassInfo`.
2022-12-28Fix usage of Enum as constantDmitrii Maganov
2022-12-27GDScript: Fix return type of constructor call for extending classDmitrii Maganov
2022-12-25Fix type adjustment skipped when value is considered both not hard and not ↵cdemirer
variant
2022-12-24Merge pull request #70509 from irwiss/reverse-Vector2.AngleToPointIgnacio Roldán Etcheverry
C#: reverse Vector2.AngleToPoint
2022-12-24C#: reverse Vector2.AngleToPointAlexey Kim
2022-12-23C#: Fix leak in Span to Variant conversionsIgnacio Roldán Etcheverry
2022-12-23Merge pull request #70486 from raulsntos/dotnet/convert-toIgnacio Roldán Etcheverry
C#: Rename `ConvertToX` methods
2022-12-23C#: Rename `ConvertToX` methodsRaul Santos
- Renamed `ConvertToX` to `ConvertToNativeX`. - Renamed `ConvertToXObject` to `ConvertToX`. - Renamed `ConvertToXManaged` to `ConvertToX`. - Fix `Signal` name in bindings generator and csharp script.
2022-12-23C#: Disallow init-only propertiesRaul Santos
ReadOnly properties are currently not allowed because the generated code needs to set them, this also apply to `init` properties because they need to be set after initialization.
2022-12-23Revert "pcre2: Update to upstream version 10.42"Rémi Verschelde
This reverts commit 62c3e4ab9c87689ff0b7d27350bde176981daf1b. Needs more work, see comments about `_regex_free` errors in #70447.
2022-12-23Merge pull request #69991 from rune-scape/cast-typeRémi Verschelde
GDScript: Fix cast producing null
2022-12-23Merge pull request #70220 from adamscott/fix-external-enumRémi Verschelde
Fix external enums not assignable as constants
2022-12-22pcre2: Update to upstream version 10.42Rémi Verschelde
Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.42/ChangeLog This should also fix support for RISC-V architectures, at least in the sljit library.
2022-12-22Merge pull request #70440 from rune-scape/null-againRémi Verschelde
Fix GDScript analyzer null literal
2022-12-22Merge pull request #70138 from anvilfolk/signalsRémi Verschelde
Add MethodInfo to signal datatype
2022-12-22Fix GDScript analyzer null literalrune-scape
2022-12-22Remove unused code paragraph from gdscript_editor.cpp/complete_codeYuri Rubinsky
2022-12-21Add MethodInfo to signal datatypeocean (they/them)
2022-12-21Merge pull request #70391 from TyounanMOTI/fix-basis-universal-transcodeRémi Verschelde
Fix Basis Universal format texture rendering failure
2022-12-21Merge pull request #67111 from DarkKilauea/nav-queries-linkRémi Verschelde
Added signal to NavigationAgent when entering a link
2022-12-21Fix Basis Universal format texture rendering failureHirotoshi Yoshitaka
Fix "failed! on level 0" error message on exported projects with Basis Universal textures.
2022-12-21Merge pull request #70366 from ↵Rémi Verschelde
quentinguidee/refactoring/fix-double-get-singleton Fix double get_singleton()
2022-12-21Merge pull request #69351 from smix8/gridmap_item_navigation_layers_4.xRémi Verschelde
Change GridMap navigation_layers to per mesh_library item
2022-12-21Merge pull request #70331 from anvilfolk/run-weirdRémi Verschelde
Unify GDScriptAnalyzer in-editor and runtime autoload checks
2022-12-21Merge pull request #70317 from HolonProduction/svg_assetsRémi Verschelde
Add support for svg images in the asset lib.
2022-12-20Unify GDScriptAnalyzer in-editor and runtime autoload checksocean (they/them)
2022-12-20Change GridMap navigation_layers to be per mesh_library itemsmix8
Changes GridMap navigation_layers from a single bitmask for the entire GridMap to a bitmask for each item used in the mesh_library with a baked navmesh.
2022-12-20Fix double get_singleton()Quentin Guidée
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-12-20Add support for svg images in the asset lib.HolonProduction
Pixel based image formats are identified by magic numbers. This is not possible with svg therefore svg parsing is tried and if it succeeded the result is used. WebP and bmp support is added as well. But I could not test it as I am not able to run a local instance of the asset lib and there is no asset using those formats.
2022-12-20Merge pull request #70108 from akien-mga/embree-arm64-flax-vector-conversionsRémi Verschelde
embree: Build on ARM64 with -flax-vector-conversions
2022-12-20Merge pull request #70309 from smix8/gridmap_collision_priority_4.xRémi Verschelde
Add GridMap collision_priority
2022-12-20Merge pull request #70244 from DarkKilauea/nav-fix-abbrev-compatRémi Verschelde
[4.x] Fix typo and ensure backwards compatibility for changed property names
2022-12-20embree: Fix Linux ARM64 build with `-flax-vector-conversions`Rémi Verschelde
This is a change done upstream in the `devel3` branch for 3.13.6: https://github.com/embree/embree/commit/82ca6b5ccb7abe0403a658a0e079926478f04cb1 They also seem to define it for macOS, but for us it breaks the build... ¯\_(ツ)_/¯ Also change wrong use of CPPFLAGS (pre-processor) where CXXFLAGS (C++) makes more sense.
2022-12-20Fix typo and ensure backwards compatibility for changed property namesJosh Jones
Changes to the name of the `navmesh` and `navpoly` properties on `NavigationRegion` caused navigation data to be lost on load. This PR creates uses `_set`/`_get` to handle compatibility with the older names on load, preserving the data. Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`, and renames the property to remove the `polygon_` prefix which doesn't match the setter/getter. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-19Add GridMap collision_prioritysmix8
Adds property 'collision_priority' for all physics bodies of the entire GridMap.
2022-12-19Merge pull request #69720 from Chaosus/inst_to_dict_noteYuri Rubinsky
Fix undefined
2022-12-19Merge pull request #70291 from BastiaanOlij/small_action_map_fixesRémi Verschelde
Fix missing undo/redo object and issue with removing actions
2022-12-19Add a note for `inst_to_dict` to prevent using it on built-in instancesYuri Rubinsky
2022-12-19Merge pull request #70219 from bruvzg/msdf_outline_scalingRémi Verschelde
Scale MSDF font outline with the font size and MSDF source size to match dynamic font behavior.
2022-12-19Fix missing undo/redo object and issue with removing actionsBastiaan Olij
2022-12-19Merge pull request #70275 from rune-scape/autoload-subscript-regressionRémi Verschelde
Fix autoload subscript regression
2022-12-18Fix autoload subscript regressionrune-scape
2022-12-18Merge pull request #59810 from reduz/fbx-import-dialogRémi Verschelde
Add a dialog for customizing FBX import
2022-12-18Merge pull request #70237 from ↵Rémi Verschelde
quentinguidee/refactor/fix-comma-instead-of-semicolon Fix use of comma instead of semicolon
2022-12-17Fix use of comma instead of semicolonQuentin Guidée
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>