Age | Commit message (Collapse) | Author |
|
Implement BiDi override mode for GDScript source.
|
|
Fix LOD sort order; checks in add_surface; and document all parameters of `ArrayMesh::add_surface_from_arrays`
|
|
|
|
`ArrayMesh::add_surface_from_arrays`
Also clarify some related documentation and expose the misssing `ArrayFormat::ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY`
|
|
|
|
|
|
Add unit tests for Curve2D
|
|
|
|
|
|
Testing the following functions:
- reparent
- duplicate
- replace_by (also with keeping groups)
|
|
|
|
Also includes #71080.
Co-authored-by: Psychpsyo <60073468+Psychpsyo@users.noreply.github.com>
|
|
* 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.
|
|
screen detection.
|
|
`AnimatedSprite{2D,3D}` improvements
|
|
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".
|
|
* Add support for individual frame duration to `SpriteFrames`.
* Various minor improvements.
|
|
Remove duplicate Month and Weekday enums
|
|
Rename `get_points_count()` to `get_point_count()` in Gradient
|
|
Initial tests for node
|
|
- 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
|
|
|
|
- Adding signals
- Emitting signals
|
|
Well, they were duplicately-exposed, but triplicately-defined.
|
|
|
|
|
|
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>
|
|
|
|
Fix autocomplete box placement
|
|
|
|
- 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>
|
|
|
|
GDScript: Unify StringName and String
|
|
Remove unnecessary checks when exporting gdextension binaries and allow using a prefix to auto-detect files
|
|
|
|
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.
|
|
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.
|
|
gdextension exports
|
|
Implement snappedi, snappedf, and Vector[2/3/4]i.snapped
|
|
|
|
|
|
|
|
|
|
Generic math function tests: Test float and double variants
|
|
|
|
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.
|
|
|
|
|
|
Improve TextEdit::add_selection_for_next_occurrence test case
|
|
[Tests] Replace Math::is_equal_approx with == and doctest::Approx
|