summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #52940 from groud/toast_notificationRémi Verschelde2021-10-191-1/+1
|\
| * Implement toast notifications in the editorGilles Roudière2021-10-141-1/+1
| |
* | Swap args of Plane(point, normal) constructormennomax2021-10-151-1/+6
|/ | | | Now (normal, point)
* Fix breakpointed_lines out of sync when removing lines abovePaulb232021-10-061-0/+75
|
* Added support for uniform arrays in shadersYuri Roubinsky2021-10-041-16/+21
|
* Fix deleting selection at the first line do not work with backspaceJean-Michel Bernard2021-10-011-0/+47
|
* Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg2021-10-012-40/+35
| | | | interface.
* Merge pull request #52850 from mashumafi/vector-bsearchRémi Verschelde2021-10-011-0/+13
|\
| * Implement bsearch for Vector and Packed*Arraymashumafi2021-09-301-0/+13
| |
* | Use range iterators for `Map`Lightning_A2021-09-302-16/+16
| |
* | Add tests for TranslationsO01eg2021-09-291-0/+31
| |
* | Merge pull request #52754 from nekomatata/dynamic-body-modesCamille Mohr-Daurat2021-09-281-1/+1
|\ \ | | | | | | Clarify RigidDynamicBody modes
| * | Clarify RigidDynamicBody modesPouleyKetchoupp2021-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RigidDynamicBody modes are replaced with several properties to make their usage clearer: -lock_rotation: disable body's rotation (instead of MODE_LOCKED) -freeze: no gravity or forces (instead of MODE_STATIC and MODE_KINEMATIC) -freeze_mode: Static (can be only teleported) or Kinematic (can be animated) Also renamed MODE_DYNAMIC_LOCKED to MODE_DYNAMIC_LINEAR in the physics servers.
* | | Construct values only when necessary.Anilforextra2021-09-251-1/+1
| | |
* | | Merge pull request #52878 from AnilBK/add-get-centerRémi Verschelde2021-09-212-0/+15
|\ \ \
| * | | Add Get Center Method for Rect2/Rect2i and AABB.Anilforextra2021-09-212-0/+15
| | |/ | |/|
* / | Add remaning code edit unit testsPaulb232021-09-202-1/+2291
|/ /
* / Allow indexing of String values in scripting languagesGeorge Marques2021-09-171-0/+73
|/
* Merge pull request #52679 from nekomatata/world-boundary-shapeCamille Mohr-Daurat2021-09-152-14/+13
|\ | | | | Rename WorldMarginShape to WorldBoundaryShape
| * Rename WorldMarginShape to WorldBoundaryShapePouleyKetchoupp2021-09-142-14/+13
| |
* | Fix String::num_real and String test cases when compiling with doublesAaron Franke2021-09-151-1/+11
| |
* | Merge pull request #52153 from timothyqiu/test-array-pop-atRémi Verschelde2021-09-143-0/+124
|\ \ | | | | | | Add unit tests for `Array.pop_at()`
| * | Add unit tests for Array.pop_at()Haoyu Qiu2021-08-283-0/+124
| | |
* | | Merge pull request #50375 from Paulb23/code_edit_unit_testsRémi Verschelde2021-09-133-0/+1148
|\ \ \
| * | | Add CodeEdit breakpoint unit testsPaulb232021-09-012-0/+814
| | | |
| * | | Create framework for testing SignalsPaulb232021-09-012-4/+192
| | | |
| * | | Allow unit testing SceneTree OjectsPaulb232021-09-012-0/+146
| | | |
* | | | Merge pull request #52049 from theraot/masterRémi Verschelde2021-09-131-8/+8
|\ \ \ \ | |_|_|/ |/| | |
| * | | Expanded path functions testsTheraot2021-08-241-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new tests cover: - A file with empty extension. - A file with only extension (a "hidden" file, unix style). - A file directly at the windows top level directory. - A file directly at the unix root directory. - A file directly at the res:// base directory.
* | | | Merge pull request #52442 from Faless/mp/4.x_rpc_managerMax Hilbrunner2021-09-071-2/+2
|\ \ \ \ | | | | | | | | | | [Net] Move multiplayer classes to own subfolder. Split RPC from MultiplayerAPI.
| * | | | [Net] Move multiplayer to core subdir, split RPCManager.Fabio Alessandrelli2021-09-071-2/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move multiplayer classes to "core/multiplayer" subdir. Move the RPCConfig and enums (TransferMode, RPCMode) to a separate file (multiplayer.h), and bind them to the global namespace. Move the RPC handling code to its own class (RPCManager). Renames "get_rpc_sender_id" to "get_remote_sender_id".
* / | | Implement properties arrays in the Inspector.Gilles Roudière2021-09-071-1/+1
|/ / /
* | | Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez2021-08-291-1/+1
| | |
* | | Quote and escape ConfigFile keys when necessaryHaoyu Qiu2021-08-281-2/+9
| |/ |/|
* | Merge pull request #51908 from bruvzg/msdf_fonts2K. S. Ernest (iFire) Lee2021-08-271-10/+30
|\ \ | | | | | | Make FontData importable resource. Add multi-channel SDF font rendering.
| * | Makes FontData importable resource.bruvzg2021-08-271-10/+30
| |/ | | | | | | | | | | | | Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
* / Fix segment intersection consistency in Geometry2DPouleyKetchoupp2021-08-251-9/+24
|/ | | | | | | | | | | | | | Segment collision results could be different depending on the direction when they exactly touch (order of the points in segments). This was due to the way parallelism was checked, using different logic based on positive or negative sign of cross products. Now the results are the same whatever the direction, without changing the current design, which is that parallel or colinear segments are not considered colinear. Fixes inconsistencies with raycasts exactly on edges of convex shapes depending on the direction.
* Curve2D/Curve3D: exact linear interpolationJihyun Yu2021-08-211-0/+35
| | | | | | | | | | While calculating interpolated points, intervals between two baked points has been assummed to be `baked_interval`. The assumption could cause significant error in some extreme cases (for example #7088). To improve accuracy, `baked_dist_cache` is introduced, which stores distance from starting point for each baked points. `interpolate_baked` now returns exact linear-interpolated position along baked points.
* Merge pull request #51787 from akien-mga/string-num-fix-default-decimalsRémi Verschelde2021-08-181-0/+24
|\ | | | | String: Fix default decimals truncation in num and num_real
| * String: Fix default decimals truncation in num and num_realRémi Verschelde2021-08-181-0/+24
| | | | | | | | | | | | | | | | Fixes undefined behavior, and fixes the logic for negative powers of ten. Fixes #51764. Adds tests to validate the changes and prevent regressions. Adds docs for `String.num`.
* | Fixes to tests for Variant and Geometry3DAaron Franke2021-08-172-24/+44
|/
* Rename LineShape2D to WorldMarginShape2DHugo Locurcio2021-08-141-1/+1
| | | | | The new name makes it more obvious that it acts as an infinite plane, and is consistent with its 3D counterpart (WorldMarginShape3D).
* Use real_t and double where appropriate in ParticlesAaron Franke2021-08-121-1/+1
|
* Merge pull request #50682 from aaronfranke/basis-looking-atRémi Verschelde2021-08-101-1/+1
|\ | | | | Move code for looking_at to Basis
| * Move code for looking_at to BasisAaron Franke2021-08-011-1/+1
| |
* | Some work on double supportAaron Franke2021-08-091-2/+2
| |
* | Tests: Improve coverage for `File::get_csv_line()`Rémi Verschelde2021-08-042-5/+29
|/ | | | | | | Adds a few more complex edge cases which are supported. Also adds some documentation, simplifies the code a bit and forbids using double quotes as a delimiter.
* Use doubles for time everywhere in Timer/SceneTreeAaron Franke2021-07-263-5/+5
|
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-253-5/+5
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-233-38/+36
|