summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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-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-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
2022-07-28Merge pull request #63049 from Faless/mp/4.x_as_moduleRémi Verschelde
2022-07-28Merge pull request #63532 from TokageItLab/rename-cubic-slerpRémi Verschelde
2022-07-28Merge pull request #57698 from ↵Rémi Verschelde
bluenote10/feature/rename_translated_to_translated_local
2022-07-28Merge pull request #63378 from nathanfranke/t3d-errorsRémi Verschelde
Add equal checks to Transform3D::looking_at and Transform3D::set_look_at, fixes misleading error.
2022-07-28Merge pull request #62414 from Calinou/movie-maker-add-quit-on-endRémi Verschelde
2022-07-27HTML5: Add support for `Input.vibrate_handheld()`pattlebass
2022-07-27Add a Movie Quit On Finish property to AnimationPlayerHugo Locurcio
This quits the project when an animation is done playing in the given AnimationPlayer, but only in Movie Maker mode. When this happens, a message is printed with the absolute path of the AnimationPlayer node that caused the engine to quit. This can be used to create videos that stop at a specified time without having to write any script. A report is now also printed to the console when the video is done recording (as long as the engine was exited properly). This report is unfortunately not always visible in the editor's Output panel, as it's printed too late. A method was also added to get the path to the output file from the scripting API.
2022-07-27rename and unify notation for spherical interpolationSilc Renew
2022-07-27Merge pull request #62973 from bruvzg/sysfont_supportRémi Verschelde
2022-07-27Merge pull request #63380 from V-Sekai/fix-cubic-slerp-dotRémi Verschelde
2022-07-27Merge pull request #63463 from KoBeWi/Vector5Rémi Verschelde
Add some missing Vector4 methods