summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-08-07Merge pull request #64027 from Geometror/add-vector4-testsRémi Verschelde
2022-08-07Vector4/Vector4i: Add missing methods, tests and fix change of sign operatorHendrik Brucker
2022-08-07Use %s for bool value in vformatHaoyu Qiu
2022-08-06Merge pull request #63361 from KoBeWi/floorf_lolRémi Verschelde
2022-08-06Restore old lerp() behavior and add lerpf()kobewi
2022-08-06Merge pull request #63712 from object71/fix-export-issuesRémi Verschelde
2022-08-06Merge pull request #63698 from PrecisionRender/plane-operator-asteriskRémi Verschelde
Add operator `*` to `Plane`
2022-08-06Merge pull request #63887 from qarmin/more_renamesRémi Verschelde
Various converter enhancements and bugfixes
2022-08-05Add a Framebuffer cacheJuan Linietsky
Adds a FramebufferCache singletion that operates the same way as UniformSetCache. Allows creating framebuffers on the fly (and keep them cached if re-requested) such as: ```C++ RID fb = FramebufferCache::get_singleton()->get_cache(texture1,texture2); ```
2022-08-05Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@4896d2de6bac388b5f8f8a42d0c39c5892bd5847
2022-08-04Check if the axis is zero / vectors are colinear in Vector3 slerpAaron Franke
2022-08-04Merge pull request #63906 from Faless/fix/4.x_warningsRémi Verschelde
2022-08-04[Core] Use std type traits to check operations triviality.Fabio Alessandrelli
2022-08-04Arrays: Zero new items of trivial types on resize() (bindings only)Rémi Verschelde
This is not enabled by default in the core version for performance reasons, as Vector/CowData are used in critical code paths where not zero'ing memory which is going to be set later on can be important. But for bindings / the scripting API, we make zero the new items by default (which already happened for built types like Vector3, etc., but not for trivial types like int, float). Fixes #43033. Co-authored-by: David Hoppenbrouwers <david@salt-inc.org>
2022-08-04Fix some array size function definition mismatch.Fabio Alessandrelli
2022-08-03Various converter enhancements and bugfixesRafał Mikrut
2022-08-03Removed faulty function update after get_property_list.Hristo Stamenov
The function tried to rearrange properties but that lead to problems with duplication or deleted properties. Implemented the logic that that function did inside the get_property_list both for tool scripts and non-tool scripts.
2022-08-03Merge pull request #63875 from hakro/fix-segment-intersects-circleRémi Verschelde
Bring back Geometry2D.segment_intersects_circle
2022-08-03Bring back Geometry2D.segment_intersects_circleHakim
2022-08-03Merge pull request #56442 from PucklaMotzer09/remap_files_movedRémi Verschelde
2022-08-03Show dependency warning when removing remaps and fallback if translationPucklaMotzer09
remap does not exist
2022-08-03Merge pull request #63266 from reduz/cleanup-array-editingRémi Verschelde
2022-08-03Merge pull request #55923 from ↵Rémi Verschelde
bluenote10/feature/consistent_transform_operations Fix consistency of translated/scaled/rotated in Transform2D and Transform3D
2022-08-02Fix consistency of translated/scaled/rotated in Transform2D and Transform3DFabian Keller
2022-08-02Clean-up array editingreduz
2022-08-02Merge pull request #63834 from lawnjelly/variant_large_bucket_poolRémi Verschelde
Variant large bucket memory pool - for Projection
2022-08-02Merge pull request #49058 from madmiraal/add-override-fileaccessRémi Verschelde
Add override keywords to FileAccess and DirAccess derived classes
2022-08-02Add override keywords to DirAccess derived classesMarcel Admiraal
2022-08-02Add override keywords to FileAccess derived classesMarcel Admiraal
2022-08-02Variant large bucket memory pool - for Projectionlawnjelly
Add a larger bucket size pool for the new Projection Matrix.
2022-08-02Merge pull request #61315 from lawnjelly/variant_bucket_poolsRémi Verschelde
Variant memory pools
2022-08-02Merge pull request #53956 from bruvzg/icu_uax_31Rémi Verschelde
2022-08-02[TextServer] Implement ICU/UAX 31 based `is_valid_identifier` function.bruvzg
2022-08-01Improve easing inspector usabilityHugo Locurcio
- Add `positive_only` property hint to disallow using negative presets. These values are clamped in several places in the editor already, so this avoids displaying presets that don't work. - Move the Zero preset at the end of the positive list to match the custom property editor. It's also used less often than Linear, Ease In and Ease Out. - Rename presets to be consistent between the easing property editor and custom property editor. - Remove unused `inout` hint which was redundant since it was already the default.
2022-08-01Expose the "restart on exit" OS functionalityHugo Locurcio
This can be used to restart a project with specific command line arguments applied. This can work in tandem with `OS.get_cmdline_args()` to restart with the same command line arguments as used to originally run the project. Example use cases: - Restart to apply an user setting change that requires a restart to work. - Restart with a Godot command line argument to change the video driver, audio driver, etc.
2022-08-01Merge pull request #63733 from akien-mga/file-get_as_text-skip-CRRémi Verschelde
File: Re-add support to skip CR (`\r`) in `File::get_as_text`
2022-08-01Merge pull request #63624 from reduz/commandline-user-argsRémi Verschelde
Add support for command-line user arguments.
2022-08-01Fix `Vector4::min_axis_index` for equal componentsRaul Santos
The documentation says if all components are equal it must return AXIS_W but it was returning AXIS_X.
2022-08-01Add support for command-line user arguments.Juan Linietsky
Implements the standard Unix double dash (--) commandline argument: * Arguments after a double dash (--) are ignored by Godot and stored for the user. * User can access them via `OS.get_cmdline_user_args()` Example: `godot.exe scene_to_run.tscn --fullscreen -- --start-level 2`
2022-08-01File: Re-add support to skip CR (`\r`) in `File::get_as_text`Rémi Verschelde
This was removed in #63481, and we confirmed that it's better like this, but we add back the possibility to strip CR as an option, to optionally restore the previous behavior. For performance this is done directly in `String::parse_utf8`. Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR. Supersedes #63717.
2022-07-31Expose load_threaded_request's cachemode to GDScriptRobin Arys
2022-07-30Add `operator*` to `Plane`PrecisionRender
2022-07-30Fix using wrong variable when checking in `ResourceSaver::save`Rindbee
2022-07-29Merge pull request #61647 from KoBeWi/SaverResourceRémi Verschelde
2022-07-29Merge pull request #63593 from TokageItLab/improve-exp-mapRémi Verschelde
2022-07-29Swap arguments of ResourceSaver.save()kobewi
2022-07-29Merge pull request #63595 from reduz/remove-signal-connect-bindsRémi Verschelde
Remove Signal connect binds
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-29Fix Vector4 serializationkobewi
2022-07-29Make `spherical_cubic_interpolate()` more stableSilc Renew