summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-08Set resource path earlier on ProjectSettings setupGeorge Marques
Since loading the config might use the resource path, it needs to be set before that happens.
2021-04-08Set up PackedData when setting up testsGeorge Marques
Some tests need functions of ProjectSettings that rely on this being available.
2021-04-08Add runner for GDScript testingGeorge 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-07Merge pull request #47441 from ↵Rémi Verschelde
TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix2 Fix for SkeletonIK not working correctly with 0 interpolation and incorrectly rotating with animation
2021-04-07Merge pull request #43900 from nathanfranke/fix-stream-peer-tcp-ambiguityRémi Verschelde
Improve Ambiguous StreamPeerTCP `set_no_delay` Documentation
2021-04-07Merge pull request #46877 from ↵Rémi Verschelde
W4RH4WK/always-dynamically-allocate-property-table Always dynamically allocate PropertyTable
2021-04-06Merge pull request #47683 from akien-mga/sync-gamecontrollerdbRémi Verschelde
Sync controller mappings DB with SDL2 community repo
2021-04-06Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@01dce71403e93eb699cc156f3237725863f0105a.
2021-04-06Merge pull request #47678 from madmiraal/fix-47436.1Rémi Verschelde
Check for empty ConcavePolygonShape2D before checking for intersection
2021-04-06Merge pull request #47675 from madmiraal/fix-47436Rémi Verschelde
Check ConvexPolygonShape2D point count before calcuating moment of inertia
2021-04-06Merge pull request #47674 from madmiraal/fix-47437Rémi Verschelde
Check for the use of an empty shape in Bullet Kinematic collisions
2021-04-06Merge pull request #47668 from madmiraal/fix-47438Rémi Verschelde
Ensure ConvexPolygonShape3D support count variable is initialised
2021-04-06Check for empty ConcavePolygonShape2D before checking for intersectionMarcel Admiraal
2021-04-06Merge pull request #47666 from madmiraal/fix-46137Rémi Verschelde
Ensure ConvexPolygonShape2D support count variable is initialised
2021-04-06Check ConvexPolygonShape2D point count before calcuating moment of inertiaMarcel Admiraal
2021-04-06Check for the use of an empty shape in Bullet Kinematic collisionsMarcel Admiraal
2021-04-06Ensure ConvexPolygonShape3D support count variable is initialisedMarcel Admiraal
2021-04-06Ensure ConvexPolygonShape support count variable is initialisedMarcel Admiraal
2021-04-06Merge pull request #47651 from Calinou/export-improve-nonexistent-preset-errorsRémi Verschelde
Improve error messages for missing export presets when using `--export`
2021-04-06Improve error messages for missing export presets when using `--export`Hugo Locurcio
- Display a specific error message if the project doesn't have an `export_presets.cfg` file. - Display a list of detected export presets if an invalid export preset name is supplied.
2021-04-06Merge pull request #47654 from vnen/stdout-disableRémi Verschelde
Add flag to stop printing to stdout/stderr
2021-04-06Merge pull request #47660 from Faless/js/4.x_webgl_fallbackRémi Verschelde
[HTML5] Implement WebGL fallback.
2021-04-06[HTML5] Implement WebGL fallback.Fabio Alessandrelli
According to project settings and when WebGL2 is not available. This does nothing in current master, as we have no rendering yet!
2021-04-06Add flag to stop printing to stdout/stderrGeorge Marques
This allows the terminal output to be suppressed but still be captured by print/error handlers.
2021-04-06Merge pull request #47200 from LightningAA/delete-from-project-manager-4.0Rémi Verschelde
Add the ability to remove project contents from the remove project dialog
2021-04-06Merge pull request #47655 from BastiaanOlij/fix_reloadableRémi Verschelde
Only cleanup meta data if GDNative library is reloadable
2021-04-06Merge pull request #47657 from LightningAA/graphedit-zoom-follow-mouse-4.0Rémi Verschelde
Make `GraphEdit` scrollwheel zoom based on mouse position
2021-04-05Make scrollwheel zoom based on mouse positionLightning_A
2021-04-06Only cleanup meta data if GDNative library is reloadable and we're about to ↵Bastiaan Olij
unload it
2021-04-05Merge pull request #47622 from pycbouh/editor-plugins-expose-scaleRémi Verschelde
Expose editor scale to the plugin API
2021-04-05Expose editor scale to the plugin APIYuri Sizov
2021-04-05Update AUTHORS and DONORS listRémi Verschelde
New contributor added to AUTHORS: @gongpha, @jmb462 Thanks to all contributors and donors for making Godot possible!
2021-04-05i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit 5cfdb866606d0e5b551178d7331ab0e9410d717f)
2021-04-05Merge pull request #47291 from BastiaanOlij/move_clusteredJuan Linietsky
Move clustered renderer functionality
2021-04-05Merge pull request #47569 from vnen/gdscript-typed-returnRémi Verschelde
GDScript: Properly validate return type
2021-04-05Move clustered renderer functionalityBastiaan Olij
2021-04-05Merge pull request #47645 from akien-mga/animatedsprite2d-no-framesRémi Verschelde
Re-allow playing AnimatedSprite2D without frames
2021-04-05Merge pull request #47640 from BastiaanOlij/fix_vulkan_formatRémi Verschelde
Chose format from supported ones that we support
2021-04-05GDScript: Properly validate return typeGeorge 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-05Re-allow playing AnimatedSprite2D without framesRémi Verschelde
Fixes #47578, partial revert of #47064.
2021-04-05Chose format from supported ones that we supportBastiaan Olij
2021-04-05Merge pull request #47642 from akien-mga/clang-tidy-fixesRémi Verschelde
2021-04-05Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde
2021-04-05Style: Apply clang-tidy's `modernize-use-nullptr`Rémi Verschelde
2021-04-05Style: Apply clang-tidy's `modernize-use-default-member-init`Rémi Verschelde
2021-04-05Style: Apply clang-tidy's `modernize-use-bool-literals`Rémi Verschelde
2021-04-05Merge 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-05Merge pull request #47633 from Calinou/editor-theme-scrollbar-add-backgroundRémi Verschelde
Add a subtle background to editor scrollbars
2021-04-05Merge pull request #47597 from Faless/js/4.x_fetch_no_clenRémi Verschelde
[HTML5] Disable body_size in fetch.
2021-04-05Merge pull request #47627 from Blackiris/fix-gdscript-var-addressRémi Verschelde
Fix GDScript variables addresses getting mixed