summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-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
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 #67274 from jbcolli2/Primitive_TestsRémi Verschelde
Unit Tests for all Primitive Meshes.
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-02Merge pull request #66927 from jbcolli2/Path2d-TestsRémi Verschelde
Unit tests for Path2D class
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 #67800 from jbcolli2/ArrayMesh-UnitTestsRémi Verschelde
Unit Tests for ArrayMesh class for Issue #43440
2022-10-31Merge pull request #66380 from aaronfranke/basis-euler-testRémi Verschelde
Simplify Euler order test code in test_basis.h
2022-10-31Merge pull request #67139 from PucklaMotzer09/insert_caret_at_caretsRémi Verschelde
Add Caret Insert Below and Above shortcuts to TextEdit
2022-10-29Merge pull request #67980 from DeeJayLSP/webpcaseMax Hilbrunner
Change all WEBP strings and comments to WebP
2022-10-28Merge pull request #67790 from kdada/fix-flash-windowClay John
Make creating window do not flicker when specify custom position
2022-10-28Change all WEBP strings and comments to WebPDeeJayLSP
2022-10-28Improved TextEdit::add_selection_for_next_occurrence test caseAlfred Reinold Baudisch
It covers additional selections of different words, as well manually adding a cursor in between and selecting the next occurrence. The previous test also was outdated in regards of not testing the implicit call to `select_word_under_caret` made by `add_selection_for_next_occurrence` in case there's no selection.
2022-10-27Merge pull request #67644 from alfredbaudisch/add-selection-next-occurrenceClay John
Add Selection and Caret for Next Occurrence of Selection
2022-10-27Simplify Euler order test code in test_basis.hAaron Franke
2022-10-24ArrayMesh unit testsjbcolli2
2022-10-24Make window creation with custom position do not flashWei Guo
2022-10-21Clean up Basis from Euler codeAaron Franke
2022-10-21Add Selection and Caret for Next Occurrence of SelectionAlfred Reinold Baudisch
Adds the bind `add_selection_for_next_occurrence` to TextEdit, with CTRL+D as the default shortcut. When the bind is performed, ff a selection is currently active with the last caret in text fields, searches for the next occurrence of the selection, adds a caret and selects the next occurrence. If no selection is currently active with the last caret in text fields, selects the word currently under the caret. The action can be performed sequentially for all occurrences of the selection of the last caret and for all existing carets. The viewport is adjusted to the latest newly added caret. The bind and the behaviour is similar to VS Code's "Add Selection to Next Find Match" and JetBrains' "Add Selection for Next Occurrence". It takes advantage of the multi-caret API. The default shortcut for `select_word_under_caret` has been changed to ALT+G, in order to give priority to CTRL+D for `add_selection_for_next_occurrence` to better align with popular IDEs and editors.
2022-10-18Add Caret Insert Below and Above shortcuts to TextEditPucklaMotzer09
2022-10-17Merge pull request #67463 from aaronfranke/num-real-negativeRémi Verschelde
Fix big negative numbers printing incorrect decimals in `num_real`
2022-10-16Fix undo redo not adjusting TextEdit viewport to caretPaulb23
2022-10-15Fix big negative numbers printing incorrect decimals in num_realAaron Franke
2022-10-14PrimitiveMesh unit tests.jbcolli2
2022-10-14Make some Image methods statickobewi
2022-10-13Merge pull request #67251 from groud/simplify_path_solve_urlsRémi Verschelde
Make String.simplify_path keep the protocol identifier for urls
2022-10-13Make String.simplify_path keep the protocol identifier for urlsGilles Roudière
2022-10-12Unit tests for Path2D module.jbcolli2
Co-authored-by: Matthew-Tave <tavematthew@gmail.com>
2022-10-11Fix select word under caret using caret col instead of linePaulb23
2022-10-11Merge pull request #64268 from timothyqiu/is-finiteRémi Verschelde
Add `is_finite` method for checking built-in types
2022-10-10Merge pull request #67145 from Paulb23/tab_texteditRémi Verschelde
Fix inserting tabs in TextEdit
2022-10-10Don't allow removing TextEdit's main caretHaoyu Qiu
2022-10-09Handle tab in TextEditPaulb23
2022-10-08Add `is_finite` method for checking built-in typesHaoyu Qiu
2022-10-05Add mutliple Caret support to TextEditPaulb23
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).