summaryrefslogtreecommitdiff
path: root/tests/core
AgeCommit message (Collapse)Author
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
2022-09-07Fix key mapping changes when moving from macOS to other platformbruvzg
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-04Replace Rect2(i) has_no_area with has_areaAaron Franke
2022-09-04Replace AABB has_no_volume with has_volumeAaron Franke
Also replace has_no_surface with has_surface
2022-09-01Merge pull request #55617 from madmiraal/fix-55384Rémi Verschelde
2022-09-01Merge pull request #63968 from KoBeWi/finding_stuff_in_a_dictionaryRémi Verschelde
2022-08-30Fix Geometry3D::get_closest_points_between_segments() returns NaNMarcel Admiraal
Also fix: - Geometry3D::get_closest_distance_between_segments() returning incorrect values. - Test for Geometry3D::get_closest_distance_between_segments() testing for an incorrect value.
2022-08-30Add `String.to_{camel,pascal,snake}_case` methodsDanil Alexeev
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-26Rename `str2var` to `str_to_var` and similarMicky
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
2022-08-25Improve string formatting for %f and %v for inf and nanMarcus Elg
2022-08-24Formatting changes to string test commentsMarcus Elg
2022-08-23Add %v for formatting vectorsMarcus Elg
2022-08-18Make `property_*_revert` methods multilevel and expose them for scriptingYuri Sizov
2022-08-16Add Dictionary.find_key()kobewi
2022-08-09vector4 distance_squared_to and update csharpantonWetzel
2022-08-08Add tests for empty/unnamed arguments to ClassDB, Variant, GDScriptYuri Sizov
2022-08-07Vector4/Vector4i: Add missing methods, tests and fix change of sign operatorHendrik Brucker