summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-01-30Add support for the escaped UTF-16 and UTF-32 Unicode characters in the ↵bruvzg
scripts and expressions.
2022-01-29Rename the physics server `run_on_thread` project settingsHugo Locurcio
`run_on_separate_thread` is more explicit.
2022-01-29simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke
2022-01-29[Net] Simplify IP resolution code, fix caching.Fabio Alessandrelli
First, we should not insert into cache if the hostname resolution has failed (as it might be a temporary internet issue), second, the async resolver should also properly insert into cache. Took the chance to remove some duplicate code with critical section in it at the cost of little performance when calling the blocking resolve_hostname function.
2022-01-28Merge pull request #57116 from bruvzg/win_net_shareRémi Verschelde
2022-01-27Merge pull request #57205 from TechnoPorg/variant-template-castRémi Verschelde
Allow method binds to take Object subclasses as arguments
2022-01-27Merge pull request #57281 from Rubonnek/rename-subsequenceRémi Verschelde
2022-01-27Expose Transform3D::sphere_interpolate_with()Max Hilbrunner
2022-01-26Rename String::is_subsequence_ofi to String::is_subsequence_ofnWilson E. Alvarez
2022-01-26Merge pull request #54173 from nathanfranke/fix-exact-matchRémi Verschelde
2022-01-25Allow method binds to take Object subclasses as argumentsTechnoPorg
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object. This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary. A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-24Fix translation with multiple sources for the same language.bruvzg
Remove unnecessary locale length checks. Add "C" -> "en" locale remap.
2022-01-24[Windows] Add support for handling network share paths.bruvzg
2022-01-24Fix action exact matchNathan Franke
2022-01-24Merge pull request #56754 from madmiraal/fix-45592Rémi Verschelde
2022-01-23Merge pull request #56931 from lyuma/etcpak_po2Rémi Verschelde
Enforce mult-of-4 requirements on etcpak input.
2022-01-22Pad etcpak input to 4x4 blocks. Fixes #49981Lyuma
2022-01-23[Net] Fix get_response_body_length for large files.Fabio Alessandrelli
Parsing was fixed, but not the return value for the exposed getter.
2022-01-23Merge pull request #56337 from cdemirer/fix-array-dictionary-idRémi Verschelde
2022-01-22Don't sort printed Dictionarykobewi
2022-01-20Merge pull request #35012 from Xrayez/press-any-keyRémi Verschelde
2022-01-20Merge pull request #51452 from omar-polo/fix-macrosRémi Verschelde
2022-01-20Merge pull request #52134 from RandomShaper/fix_namingRémi Verschelde
2022-01-20Rename or refactor macros to avoid leading underscoresOmar Polo
These are not used consistently and some can conflict with system-specific defines. While here, also delete some unused macros.
2022-01-20Add `Input.is_anything_pressed` methodAndrii Doroshenko (Xrayez)
2022-01-20Rename Variant::is_ref() to is_ref_counted()Pedro J. Estébanez
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-13Use mouse event relative motion to calculate mouse velocityMarcel Admiraal
2022-01-13Merge pull request #56740 from AnilBK/camera-pre-allocateRémi Verschelde
2022-01-13CameraMatrix: Pre-allocate Vector in get_projection_planes().Anilforextra