summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-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).
2022-09-28[GDExtension] Use function names with underscore for TextServer extension, ↵bruvzg
add macros to generate wrappers for module functions.
2022-09-27Merge pull request #66160 from dpalais/double_timeRémi Verschelde
Use double instead of real_t type for time-related parameters and variables
2022-09-26Change time parameters and variables to double typeDave Palais
Addresses #65313
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-07Expose registration of physics servers to GDExtensionRicardo Buring
This exposes PhysicsServer2DManager and PhysicsServer3DManager.
2022-09-07Merge pull request #64361 from Mickeon/rename-caret-blinkRémi Verschelde
Rename every instance of `caret_blink_speed` to `caret_blink_interval`
2022-09-06Rename every instance of `caret_blink_speed` to `caret_blink_interval`Micky
It's been changed in EditorSettings, LineEdit, TextEdit. Affects setters and getters, and passed parameters, too.
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-02Merge pull request #64917 from Tim-Fronsee/fix/add-gutter-total-widthRémi Verschelde
2022-09-02Merge pull request #64952 from Chaosus/vs_rename_uniform_to_paramRémi Verschelde
2022-09-01Refactor BitMap and add testsHendrik Brucker
Co-authored-by: Resul Çelik <resul_celik@hotmail.com>
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-09-01Rename `uniform` to `parameter` across the engineYuri Rubinsky
2022-08-31Fix TextEdit::gutters_width (total gutter width) when adding & removing a ↵Tim Fronsee
gutter by calling TextEdit::_update_gutter_width in TextEdit::add_gutter & TextEdit::remove_gutter Update TextEdit gutters subcase, gutter add and remove to ensure gutter total width is correct Fix test_code_edit symbol lookup test case to include padding (+2)
2022-08-30Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`Hugo Locurcio
"sampling" is a more accurate term than "interpolating" for what's happening when using that function.
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-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-29Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde
NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
2022-08-27Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
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-25Merge pull request #64804 from Mickeon/rename-path-progressRémi Verschelde
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-24Rename PathFollow's `offset`s to `progress` & `progress_ratio`Micky
Applies for both PathFollow2D and PathFollow3D
2022-08-24Merge pull request #63728 from MarcusElg/%vRémi Verschelde
Add %v for formatting vectors
2022-08-23Merge pull request #64639 from Geometror/test-quickadd-scriptRémi Verschelde
2022-08-23Add %v for formatting vectorsMarcus Elg