summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2023-01-19Merge pull request #71598 from bruvzg/gdscript_bidi_overrideRémi Verschelde
Implement BiDi override mode for GDScript source.
2023-01-19Merge pull request #71565 from RedworkDE/doc-arraymesh-add-surfaceRémi Verschelde
Fix LOD sort order; checks in add_surface; and document all parameters of `ArrayMesh::add_surface_from_arrays`
2023-01-19[GDExtension] Expose some low level functions and String operators.bruvzg
2023-01-19Fix LOD sort order; checks in add_surface; and document all parameters of ↵RedworkDE
`ArrayMesh::add_surface_from_arrays` Also clarify some related documentation and expose the misssing `ArrayFormat::ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY`
2023-01-18Implement BiDi override mode for GDScript source.bruvzg
2023-01-18Allow unindent without selectionkobewi
2023-01-16Merge pull request #71308 from hcoura/test-curve-2dRémi Verschelde
Add unit tests for Curve2D
2023-01-15Rename `center` method to `get_center` in Plane.Raul Santos
2023-01-14Fixed adding extra quote when completing stringsPaulb23
2023-01-14Added more node testsMarius Hanl
Testing the following functions: - reparent - duplicate - replace_by (also with keeping groups)
2023-01-13Add unit tests for Curve2DHenrique Coura
2023-01-09Fix typos with codespellRémi Verschelde
Also includes #71080. Co-authored-by: Psychpsyo <60073468+Psychpsyo@users.noreply.github.com>
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
2023-01-05Merge pull request #65609 from dalexeev/animated-spriteRémi Verschelde
`AnimatedSprite{2D,3D}` improvements
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05`AnimatedSprite{2D,3D}` improvementsDanil Alexeev
* Add support for individual frame duration to `SpriteFrames`. * Various minor improvements.
2023-01-03Merge pull request #67694 from aaronfranke/its-timeRémi Verschelde
Remove duplicate Month and Weekday enums
2023-01-03Merge pull request #70840 from MewPurPur/get-point-count-instead-of-pointsRémi Verschelde
Rename `get_points_count()` to `get_point_count()` in Gradient
2023-01-03Merge pull request #70152 from Maran23/4-x-tests-for-nodeRémi Verschelde
Initial tests for node
2023-01-03Add initial tests for NodeMarius Hanl
- Test simple and complex cases for: -> add, remove, move, get, find, count, is_inside_tree -> name, nodepath -> verify the scene tree - Simple tests for the processing setup
2023-01-02Rename get_points_count() to get_point_count() internallyVolTer
2022-12-29Add tests for signalsMarius Hanl
- Adding signals - Emitting signals
2022-12-26Remove duplicate Month and Weekday enumsAaron Franke
Well, they were duplicately-exposed, but triplicately-defined.
2022-12-26Merge pull request #70396 from jainl28patel/VisualShader-unit-testYuri Rubinsky
2022-12-26Add unit test for VisualShaderjainl28patel
2022-12-21Added the possibility to define a default value in ↵Marius Hanl
ProjectSettings.get_setting(), which is used when no setting is set. Also added tests for the project settings. Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-12-19Fix autocomplete with autobrace completion not adding closing pairPaulb23
2022-12-17Merge pull request #70168 from Haydoggo/autocomplete-placement-fixRémi Verschelde
Fix autocomplete box placement
2022-12-17Fix autocomplete box placementHayden Leete
2022-12-16Fix String::word_wrap() for long wordsHaoyu Qiu
- Changes `TextServer.string_get_word_breaks()` - Returns pairs of boundary start and end offsets - Accepts `chars_per_line` to return line breaks - Removes `String::word_wrap()` Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-12-12[Tests] Get rid of several error messages when running the test suiteHendrik Brucker
2022-12-09Merge pull request #68747 from rune-scape/rune-stringname-unificationRémi Verschelde
GDScript: Unify StringName and String
2022-12-06Merge pull request #67906 from groud/simpler_gdextension_configRémi Verschelde
Remove unnecessary checks when exporting gdextension binaries and allow using a prefix to auto-detect files
2022-12-05Unify String and StringNamerune-scape
2022-12-05Refactor baking code for Curve2DYaohua Xiong
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. A similar refacor had been applied to Curve3D. The test cases for Curve2D is updated, comparing floating point with is_equal_approxmiate() instead of `==`, in order to avoid float precision problem.
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-12-01Allow specifying a prefix to automatically detect library files for ↵Gilles Roudière
gdextension exports
2022-11-24Merge pull request #68386 from MewPurPur/snappedi-snappedfRémi Verschelde
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
2022-11-24Improve logic for detecting and tracking extensionsBastiaan Olij
2022-11-23Fix error while selecting last empty lineAdam Scott
2022-11-20Double precision of `String.split_floats`Micky
2022-11-19Implement snappedi, snappedf, and Vector[2/3/4]i.snappedVolTer
2022-11-18Merge pull request #68432 from Geometror/generic-math-func-testsRémi Verschelde
Generic math function tests: Test float and double variants
2022-11-17Fix polygon generation in BitMapNinni Pipping
2022-11-14Add GPUParticles to the OpenGL3 renderer.clayjohn
This includes collision (2D SDF, Box, Sphere, Heightmap), attraction (Box, Sphere), and all sorting modes. This does not include 3D SDF collisions, trails, or manual emission.
2022-11-09Generic math function tests: Test float and double variantsHendrik Brucker
2022-11-08Remove duplicate project settings definitionskobewi
2022-11-06Merge pull request #67976 from alfredbaudisch/select-next-occurrence-better-testRémi Verschelde
Improve TextEdit::add_selection_for_next_occurrence test case
2022-11-06Merge pull request #68275 from Geometror/doctest-approxRémi Verschelde
[Tests] Replace Math::is_equal_approx with == and doctest::Approx