| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
|
|/ / |
|
|/ |
|
|\
| |
| |
| | |
Add unit tests for `OAHashMap`
|
| | |
|
|\ \
| | |
| | |
| | | |
Add unit tests for Camera2D
|
| | | |
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added to:
* `Callable`s
* `Object`s
* `ClassDB`
* `Script(Instance)`s
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Disabled 2D navigation tests as they do not work
* Disabled tests for primitive meshes
* Unbound some `Mesh` methods that rely on 3D resources
* Unexposed `World3D` as it depends on physics (and isn't useful)
* Unexposed some `Viewport` vrs related properties that had unexposed
methods
|
|/ |
|
| |
|
| |
|
|\
| |
| |
| | |
Fix some build errors with `disable_3d=yes`
|
| |
| |
| |
| |
| |
| | |
* Some tests were incorrectly included
* SCU builds with animation
* Animation `switch`
|
|/ |
|
| |
|
|
|
|
| |
Adds 2D navigation mesh baking.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds the default theme context, which replaces
the need to manually check the project and the default theme
all the time; simplifies related code.
It also adds framework for custom theme contexts, to be used
by the editor. Custom contexts can be attached to any node,
and not necessarily a GUI/Window node. Contexts do no break
theme inheritance and only define which global themes a node
uses as a fallback.
Contexts propagate NOTIFICATION_THEME_CHANGED when one of their
global themes changes. This ensures that global themes act just
like themes assigned to individual nodes and can be previewed
live in the editor.
|
|
|
|
| |
Also fixes class name shadowing in Viewport/Window tests.
|
|\
| |
| |
| | |
Fix global transform validity for `Node2D` and `Control`
|
| |
| |
| |
| | |
Set global transform to invalid when changing transform
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Previously for InputEvents there was no distinction between
Window-area and Viewport-area.
This was problematic in cases where stretching was used and the Window
contained black bars at the sides of the Viewport.
This PR separates the area of Window and Viewport regarding InputEvents.
|
|/ |
|
|\
| |
| |
| | |
Add unit tests for PackedScene
|
| | |
|
|\ \
| | |
| | |
| | | |
Add a test suite for TranslationServer
|
| |/ |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Fix project settings being ignored.
- Made usages of `native_thread_allocator` thread-safe.
- Remove redundant thread-safety from `low_priority_threads_used`, `exit_threads`.
- Fix deadlock due to unintended extra lock of `task_mutex`.
|
| |
|
|
|
|
| |
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
|
| |
|
| |
|
|\
| |
| |
| | |
[unittests] Send Mouse events via DisplayServer instead of push_input
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently Unittests simplify mouse-events by just pushing them to Viewports.
For dealing with mouse-screen-coordinates (caused by the introduction of
multiple native Windows) it becomes necessary to extend the
DisplayServer functionality for unittests.
This PR introduces DisplayServerMock based on DisplayServerHeadless,
which additionally supports basic Mouse-Input handling.
|
|/ |
|
| |
|
|
|
|
| |
screen detection.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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".
|
|
|
|
|
|
|
|
| |
- 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
|
|\ |
|
| | |
|