summaryrefslogtreecommitdiff
path: root/tests/core
AgeCommit message (Collapse)Author
2023-01-31Fail instead of segfaulting in IO testsmyaaaaaaaaa
2023-01-30Merge pull request #72213 from ARez2/ARez2/masterRémi Verschelde
Add Unit test for InputEventMouse
2023-01-29Add Unit test for InputEventMouseARez
2023-01-28Add support for interpolating skewed transformsAaron Franke
2023-01-25Add `@GlobalScope` `is_same(a, b)` and `Variant::identity_compare()`Adam Scott
2023-01-23Add tests to ensure bound methods and signals are valid identifiersJan Haller
2023-01-23Cleanup and unify keyboard input.bruvzg
- Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes. - Unify IME behaviour, add inline composition string display on Windows and X11. - Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events. - Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS. - Add support for media key handling on macOS. Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-19[GDExtension] Expose some low level functions and String operators.bruvzg
2023-01-15Rename `center` method to `get_center` in Plane.Raul Santos
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-03Merge pull request #67694 from aaronfranke/its-timeRémi Verschelde
Remove duplicate Month and Weekday enums
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-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-09Merge pull request #68747 from rune-scape/rune-stringname-unificationRémi Verschelde
GDScript: Unify StringName and String
2022-12-05Unify String and StringNamerune-scape
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-20Double precision of `String.split_floats`Micky
2022-11-19Implement snappedi, snappedf, and Vector[2/3/4]i.snappedVolTer
2022-11-09Generic math function tests: Test float and double variantsHendrik Brucker
2022-11-06Merge pull request #68275 from Geometror/doctest-approxRémi Verschelde
[Tests] Replace Math::is_equal_approx with == and doctest::Approx
2022-11-05[Tests] Replace Math::is_equal_approx with == and doctest::ApproxHendrik Brucker
2022-11-04Add support for empty delimiter in String.splitkobewi
2022-11-04Add a test suite for `Math::` namespace functionsHendrik Brucker
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-11-02Allow getting Quaternion rotation in different Euler ordersAaron Franke
2022-11-02Merge pull request #66747 from aaronfranke/move-euler-orderRémi Verschelde
Move EulerOrder enum to math_defs.h and global scope
2022-11-02Merge pull request #66017 from Mickeon/rename-image-copy-rectRémi Verschelde
Rename Image's `get_rect` to `get_region`
2022-11-02Move EulerOrder enum to math_defs.h and global scopeAaron Franke
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-01Rename Image's `get_rect` to `get_region`Micky
Also renames its parameter to from "rect" to "region".
2022-11-01Replace Quaternion Euler constructor with `from_euler` methodAaron Franke
2022-10-31Merge pull request #66380 from aaronfranke/basis-euler-testRémi Verschelde
Simplify Euler order test code in test_basis.h
2022-10-28Change all WEBP strings and comments to WebPDeeJayLSP
2022-10-27Simplify Euler order test code in test_basis.hAaron Franke
2022-10-21Clean up Basis from Euler codeAaron Franke
2022-10-15Fix big negative numbers printing incorrect decimals in num_realAaron Franke
2022-10-13Make String.simplify_path keep the protocol identifier for urlsGilles Roudière
2022-10-08Add `is_finite` method for checking built-in typesHaoyu Qiu
2022-10-03Remove NO_THREADS fallback code, Godot 4 requires thread supportRémi Verschelde
This also removes `OS::can_use_threads` from the public API since it's always true.
2022-10-03Merge pull request #66133 from aaronfranke/set-allRémi Verschelde
Delete `set_all`, `set_axis`, and `get_axis` methods from Vector2/3/3i/4/4i
2022-10-03Merge pull request #64833 from MarcusElg/naninfprintingRémi Verschelde
Improve string formatting (%f and %v) for inf and nan
2022-09-30Fix typos with codespellRémi Verschelde
Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though).
2022-09-28[GDExtension] Use function names with underscore for TextServer extension, ↵bruvzg
add macros to generate wrappers for module functions.
2022-09-25Add more tests for Vector* typesMicky
2022-09-19Remove set_axis and get_axis methods from Vector2/2i/3/3i/4/4iAaron Franke
2022-09-14Test, refactor and fix a bug in Basis.get_axis_anglefabriceci
2022-09-09Fix parsing of XML CDATA and add test casesHaoyu Qiu