Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-08 | Add runner for GDScript testing | George Marques | |
This is meant for testing the GDScript implementation, not for testing user scripts nor testing the engine using scripts. Tests consists in a GDScript file and a .out file with the expected output. The .out file format is: expected status (based on the enum GDScriptTest::TestStatus) on the first line, followed by either an error message or the resulting output. Warnings are added after the first line, before the output (or compiler errors) if the parser pass without any error. The test script must have a function called `test()` which takes no argument. Such function will be called by the test runner. The test should not have any dependency unless it's part of the test too. Global classes (using `class_name`) are registered before the runner starts, so those should work if needed. Use the command `godot --gdscript-generate-tests godot-source/modules/gdscript/tests/scripts` to update the .out files with the current output (make sure the output are the expected values before committing). The tests themselves are part of the doctest suite so those can be executed with `godot --test`. Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | |||
2021-04-07 | Merge pull request #46877 from ↵ | Rémi Verschelde | |
W4RH4WK/always-dynamically-allocate-property-table Always dynamically allocate PropertyTable | |||
2021-04-06 | Check for the use of an empty shape in Bullet Kinematic collisions | Marcel Admiraal | |
2021-04-06 | Only cleanup meta data if GDNative library is reloadable and we're about to ↵ | Bastiaan Olij | |
unload it | |||
2021-04-05 | Merge pull request #47569 from vnen/gdscript-typed-return | Rémi Verschelde | |
GDScript: Properly validate return type | |||
2021-04-05 | GDScript: Properly validate return type | George Marques | |
When the type cannot be validated at compile time, the runtime must do a check to ensure type safety is kept, as the code might be assuming the return type is correct in another place, leading to crashes if the contract is broken. | |||
2021-04-05 | Style: Apply clang-tidy's `readability-braces-around-statements` | Rémi Verschelde | |
2021-04-05 | Style: Apply clang-tidy's `modernize-use-nullptr` | Rémi Verschelde | |
2021-04-05 | Style: Apply clang-tidy's `modernize-use-default-member-init` | Rémi Verschelde | |
2021-04-05 | Style: Apply clang-tidy's `modernize-use-bool-literals` | Rémi Verschelde | |
2021-04-05 | Merge pull request #47592 from ↵ | Rémi Verschelde | |
jmb462/fix-VisualScriptFunctionState-connect-to-null-signal-crash Fix VisualScriptFunctionState connect to null object crash (Fix #47572) | |||
2021-04-05 | Merge pull request #47627 from Blackiris/fix-gdscript-var-address | Rémi Verschelde | |
Fix GDScript variables addresses getting mixed | |||
2021-04-05 | Merge pull request #47636 from qarmin/input | Rémi Verschelde | |
Fix crashes in *_input functions | |||
2021-04-05 | Fix crashes in *_input functions | Rafał Mikrut | |
2021-04-04 | Fix GDScript variables addresses getting mixed | Julien Nguyen | |
2021-04-04 | Fixes #47607 (forgotten statement in GDNative cleanup) | Jan Haller | |
Co-authored-by: geekrelief <geekrelief@gmail.com> | |||
2021-04-03 | Fix VisualScriptFunctionState connect to null object crash | jmb462 | |
2021-04-03 | Merge pull request #47452 from BastiaanOlij/xr_positional_tracker_ref | Rémi Verschelde | |
Change XRPositionalTracker to a reference (master) | |||
2021-04-01 | Merge pull request #46991 from madmiraal/rename-invert-reverse | Rémi Verschelde | |
Rename Array.invert() to Array.reverse() | |||
2021-03-31 | Fix gdnative config file set as null | Kyle | |
Fixes # Setting a GDNativeLibrary config file as null or any other object but a ConfigFile will now cause an error. | |||
2021-03-31 | Merge pull request #47250 from BastiaanOlij/check_vulkan_version | Rémi Verschelde | |
Obtain supported Vulkan API | |||
2021-03-31 | As GLSLang seems to be all or nothing, added our own defines | Bastiaan Olij | |
2021-03-31 | [Complex Text Layouts] Provide access to glyph contour points. | bruvzg | |
2021-03-30 | Merge pull request #47131 from vnen/gdscript-export-fix | Rémi Verschelde | |
Fix a few issues with @export in GDScript | |||
2021-03-30 | Merge pull request #47492 from vnen/gdscript-typed-arrays | Rémi Verschelde | |
GDScript: Fix array type check on constants | |||
2021-03-30 | GDScript: Fix array type check on constants | George Marques | |
They mistakenly pointing to the wrong union member (variable instead of constant). | |||
2021-03-30 | GDScript: Implement export of typed arrays | George Marques | |
2021-03-30 | GDScript: Allow export of enum variables | George Marques | |
Also fix the enum type in variables to be integer. | |||
2021-03-30 | GDScript: Show error on invalid initializer expression | George Marques | |
2021-03-30 | Move GDSript annotation application after type-checking | George Marques | |
This ensures that annotations that rely on the datatype (such as @export) can validated it timely, allowing compound expressions instead of only literal values. | |||
2021-03-29 | FBX: Fix first bone getting unnecessary '_1' suffix | Rémi Verschelde | |
Fixes #43820. Co-authored-by: Gordon MacPherson <gordon@gordonite.tech> | |||
2021-03-29 | Merge pull request #46830 from vnen/gdscript-typed-arrays | Rémi Verschelde | |
GDScript typed arrays | |||
2021-03-29 | Merge pull request #46844 from geekrelief/gdnative_unregister_script_fix | Rémi Verschelde | |
fixes #46839, ensure library_classes is cleared and free funcs are ca… | |||
2021-03-29 | Add typed arrays to GDScript | George Marques | |
- Use `Array[type]` for type-hints. e.g.: `var array: Array[int] = [1, 2, 3]` - Array literals are typed if their storage is typed (variable asssignment of as argument in function all). Otherwise they are untyped. | |||
2021-03-29 | Change XRPositionalTracker to a reference and better expose it to GDNative | Bastiaan Olij | |
2021-03-28 | Rename Texture.get_data() to get_image() | Marcel Admiraal | |
2021-03-27 | Add support for _to_string virtual function overwrite in Pluginscript | Emmanuel Leblond | |
2021-03-26 | Obtain supported Vulkan API | Bastiaan Olij | |
2021-03-25 | doc: Sync classref with current source | Rémi Verschelde | |
2021-03-24 | Always have a name for gltf2 mesh, material and skins. | K. S. Ernest (iFire) Lee | |
Co-authored-by: Lcbx <luc.courbariaux@gmail.com> | |||
2021-03-23 | Rename some more global enums (Key, Joy, MIDI) | Aaron Franke | |
2021-03-23 | Rename ButtonList enum and members to MouseButton | Aaron Franke | |
2021-03-23 | Merge pull request #44398 from RevoluPowered/unit-tests-for-export-templates | Rémi Verschelde | |
Add unit tests for export templates | |||
2021-03-23 | Merge pull request #45562 from aaronfranke/core-modules-real_t | Rémi Verschelde | |
Use real_t in GridMap and VariantParser | |||
2021-03-22 | Add unit tests for export templates | Gordon MacPherson | |
2021-03-22 | Improved 3D Scene Importer | Juan Linietsky | |
* Added option for importers to show an Advanced settings dialog * Created advanced settings dialog for Scene Importer * Cleaned up importers (remove many old/unused options) * Added the ability to customize every node, material, mesh and animation individually * Saving to animations and meshes to files is now a manual process, making it more predictable * Added the ability for materials to be replaced by external files (or to be made external, up to you). * When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it. WARNING: Lightmap UV unwrap is not working, it needs to be re-made. | |||
2021-03-21 | Rename Array.invert() to Array.reverse() | Marcel Admiraal | |
Does the same internally for List and Vector<>, which includes all PackedArray types. | |||
2021-03-21 | Merge pull request #47194 from W4RH4WK/fbx-normalize-rotations | Rémi Verschelde | |
FBX Import: Normalize rotation quaternions | |||
2021-03-20 | Merge pull request #46937 from nekomatata/soft-body-support | Rémi Verschelde | |
SoftBody support in GodotPhysics 3D | |||
2021-03-20 | Merge pull request #47139 from nekomatata/concave-backface-collision | Rémi Verschelde | |
Disable backface collision with ConcavePolygonShape by default |