summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-01-20Merge pull request #56972 from lawnjelly/warn_unusedRémi Verschelde
2022-01-20Add nodiscard to core math classes to catch c++ errors.lawnjelly
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-19Delete orphaned property default for exit_code which is not exposed any more.strank
2022-01-19Fix locale always selecting translation instead of "en", when no match found.bruvzg
2022-01-18Merge pull request #52969 from bruvzg/locale_detectionRémi Verschelde
2022-01-18Merge pull request #56896 from ↵Rémi Verschelde
akien-mga/dictionary-improve-VariantWriter-and-docs
2022-01-18Merge pull request #56899 from touilleMan/fix-editor_node-set_exit_codeRémi Verschelde
2022-01-18Improve locale detection.bruvzg
Use separate language, script and country lists. Add locale selection dialog and property hint.
2022-01-18Merge pull request #56668 from akien-mga/array-slice-nicer-bound-checksRémi Verschelde
2022-01-18Replace use of `OS::set_exit_code()` by `SceneTree::quit()` in `EditorNode`Emmanuel Leblond
2022-01-18Dictionary: Serialize empty dict as `{}` instead of `{\n}`Rémi Verschelde
Also make sure to always convert multiline dictionaries to a single line for its EditorHelp representation, as multiline values break formatting.
2022-01-17Merge pull request #55939 from cdemirer/validated-array-add-fixRémi Verschelde
Fix validated version of array addition
2022-01-18Fix validated version of array additioncdemirer
2022-01-17Merge pull request #56809 from aaronfranke/replace-num-realRémi Verschelde
2022-01-17Merge pull request #55020 from bruvzg/vlk_device_surface_checkRémi Verschelde
2022-01-17Merge pull request #56012 from bruvzg/wt🤎4Rémi Verschelde
2022-01-15Replace String::num_real code with a wrapper around String::numAaron Franke
2022-01-14Remove support for PVRTC texture encoding and decodingHugo Locurcio
On the only platform where PVRTC is supported (iOS), ETC2 generally supersedes PVRTC in every possible way. The increased memory usage is not really a problem thanks to modern iOS' devices processing power being higher than its Android counterparts.
2022-01-14Merge pull request #56779 from aaronfranke/rect2-growRémi Verschelde
2022-01-14Fix Actions mapped to triggers not using the full rangeMarcel Admiraal
2022-01-14Remove zero size checks from Rect2 grow methodsAaron Franke
2022-01-13Merge pull request #56740 from AnilBK/camera-pre-allocateRémi Verschelde
2022-01-13CameraMatrix: Pre-allocate Vector in get_projection_planes().Anilforextra
2022-01-12Merge pull request #56492 from akien-mga/remove-author-docstringsRémi Verschelde
2022-01-12Merge pull request #56696 from AnilBK/use-init-listsRémi Verschelde
2022-01-12Use List Initializations for Vectors.Anilforextra
2022-01-11Merge pull request #56130 from Faless/mbedtls/2.28.0Rémi Verschelde
2022-01-11Merge pull request #56322 from madmiraal/fix-42450Rémi Verschelde
2022-01-10`Array`: Relax `slice` bound checks to properly handle negative indicesRémi Verschelde
The same is done for `Vector` (and thus `Packed*Array`). `begin` and `end` can now take any value and will be clamped to `[-size(), size()]`. Negative values are a shorthand for indexing the array from the last element upward. `end` is given a default `INT_MAX` value (which will be clamped to `size()`) so that the `end` parameter can be omitted to go from `begin` to the max size of the array. This makes `slice` works similarly to numpy's and JavaScript's.
2022-01-10Merge pull request #56666 from bruvzg/joy_button_fixRémi Verschelde
2022-01-10Add joystick button index boundary check. Increase max. button number to 128 ↵bruvzg
(max. buttons supported by DirectInput).
2022-01-10Fix crash on importing FBX fileHaoyu Qiu
2022-01-07Fix missing arg name in bindings for GDExtension APIRémi Verschelde
2022-01-07Merge pull request #53618 from aaronfranke/signed-angle-vec3iRémi Verschelde
Add length and length_squared to Vector2i/3i
2022-01-07Merge pull request #55877 from aaronfranke/slerp-same-lenRémi Verschelde
2022-01-07Fix typos with codespellRémi Verschelde
Using codespell 2.1.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang ans ba curvelinear dof doubleclick fave findn gird inout leapyear lod merchantibility nd numer ois ony que readded seeked statics
2022-01-06Allow Vector2/3 slerp values to have any lengthAaron Franke
2022-01-06Add length and length_squared to Vector2i/3iAaron Franke
2022-01-06Rename Variant enum members in resource_format_binary.cppAaron Franke
2022-01-06Merge pull request #56224 from Calinou/variant-rename-packed-array-constantsRémi Verschelde
2022-01-06Merge pull request #50493 from timothyqiu/local-vector-list-initRémi Verschelde
2022-01-06Fix multiple missing UTF-8 decoding.bruvzg
2022-01-06Merge pull request #55851 from Chaosus/better-completion-options-list_rebasedRémi Verschelde
2022-01-06Merge pull request #53434 from Faless/io/4.x_file_access_compressedRémi Verschelde
[File] Fix FileAccessCompressed::get_buffer return value.
2022-01-05Merge pull request #53684 from TokageItLab/orthogonal-modeRémi Verschelde
2022-01-05Add list initialization support for Vector & LocalVectorHaoyu Qiu
2022-01-04Style: Remove inconsistently used `@author` docstringsRémi Verschelde
Each file in Godot has had multiple contributors who co-authored it over the years, and the information of who was the original person to create that file is not very relevant, especially when used so inconsistently. `git blame` is a much better way to know who initially authored or later modified a given chunk of code, and most IDEs now have good integration to show this information.
2022-01-04Merge pull request #56484 from KoBeWi/your_callable_is_invalidRémi Verschelde
2022-01-04Merge pull request #56295 from aaronfranke/doc-midiRémi Verschelde
2022-01-04Merge pull request #56331 from Cnidarias/large_http_downloadsFabio Alessandrelli
Fix http limitation for large "content-length"