summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #98237 from dustdfg/os_transitive_image_headers_refactorThaddeus Crews2024-10-213-2/+1
|\ | | | | | | Don't include `core/io/image.h` in `core/os/os.h`
| * Don't include `core/io/image.h` in `core/os/os.h`Yevhen Babiichuk (DustDFG)2024-10-183-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `core/os/os.h` doesn't use `core/io/image.h`. It just brings transitive dependencies. Lots of dependencies because `core/os/os.h` is transitively included in almost every file of godot Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h` were used to prevent obscure errors involving `Ref<Image>` ^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by corresponding .h file with the same name Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com> Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* | Merge pull request #98236 from timothyqiu/locale-compare-cache-4.xThaddeus Crews2024-10-212-13/+24
|\ \ | | | | | | | | | Cache results for `TranslationServer.compare_locales()`
| * | Cache results for `TranslationServer.compare_locales()`Haoyu Qiu2024-10-162-13/+24
| | |
* | | Merge pull request #97707 from Sauermann/fix-input-device-clashThaddeus Crews2024-10-215-13/+21
|\ \ \ | | | | | | | | | | | | Fix `InputEvent` device id clash
| * | | Fix InputEvent device id clashMarkus Sauermann2024-10-205-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `InputMap::ALL_DEVICES` and `InputEvent::DEVICE_ID_EMULATION` have the same value `-1`. Change value of `InputMap::All_DEVICES` so that it's different from `InputEvent::DEVICE_ID_EMULATION`. `InputEvent::DEVICE_ID_EMULATION` is part of the API and can't be changed without potentially breaking projects. Gather all special device constants in a single location inside `InputEvent`. Add a converter to project settings, that takes care of adjusting project files during loading.
* | | | Merge pull request #97542 from AThousandShips/dict_sort_fixThaddeus Crews2024-10-213-2/+15
|\ \ \ \ | |_|_|/ |/| | | | | | | [Core] Fix sorting of `Dictionary` keys
| * | | [Core] Fix sorting of `Dictionary` keysA Thousand Ships2024-10-183-2/+15
| | |/ | |/| | | | | | | `StringName` keys were sorted as `StringName` which is unstable.
* / | Don't pseudolocalize empty stringsHaoyu Qiu2024-10-171-0/+4
|/ /
* | Merge pull request #97295 from BlueCube3310/betsy-bc4Thaddeus Crews2024-10-141-1/+1
|\ \ | | | | | | | | | Betsy: Implement BC4 compression
| * | Betsy: Implement BC4 compressionBlueCube33102024-09-221-1/+1
| | |
* | | Merge pull request #95175 from KoBeWi/bruh_can_revertThaddeus Crews2024-10-101-12/+6
|\ \ \ | | | | | | | | | | | | Fix implementation of `property_can_revert()` in various classes
| * | | Fix implementation of property_can_revert() in various classeskobewi2024-10-041-12/+6
| | | |
* | | | Restore arc_tolerance value when using Clipper2's InflatePathsRicardo Buring2024-10-091-5/+7
|/ / / | | | | | | | | | This was missed when upgrading from Clipper to Clipper2.
* | | Partially revert 96780, remove warnings from project/editor settings `_get`.bruvzg2024-10-042-21/+18
| | |
* | | Merge pull request #97362 from reduz/make-unique-scene-id-deterministicRémi Verschelde2024-10-043-11/+25
|\ \ \ | | | | | | | | | | | | Make internal unique scene resource ID deterministic
| * | | Make internal unique scene resource ID deterministicJuan2024-09-233-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the Resource::generate_scene_unique_id() to be deterministic and seedable. Fixes #97110
* | | | Merge pull request #97119 from dsnopek/gdextension-object-instance-idRémi Verschelde2024-10-042-0/+24
|\ \ \ \ | | | | | | | | | | | | | | | GDExtension: Allow directly getting `ObjectID` from `Variant`
| * | | | GDExtension: Allow directly getting `ObjectID` from `Variant`David Snopek2024-09-172-0/+24
| | | | |
* | | | | Merge pull request #97465 from DarioSamo/lock-free-ridRémi Verschelde2024-10-041-71/+68
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Make `RID_Owner` lock-free for fetching.
| * | | | | Make RID_Owner lock-free for fetching.Juan Linietsky2024-09-251-71/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR makes RID_Owner lock free for fetching values, this should give a very significant peformance boost where used. Some considerations: * A maximum number of elements to alocate must be given (by default 256k). * Access to the RID structure is still safe given they are independent from addition/removals. * RID access was never really thread-safe in the sense that the contents of the data are not protected anyway. Each server needs to implement locking as it sees fit.
* | | | | | Merge pull request #96230 from timothyqiu/per-domain-pseudolocalizationRémi Verschelde2024-10-044-234/+355
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Move pseudolocalization into `TranslationDomain`
| * | | | | | Move pseudolocalization into TranslationDomainHaoyu Qiu2024-09-214-234/+355
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Also adds command-line option `--editor-pseudolocalization`
* | | | | | Add a sort method to Dictionary and HashMapAaron Franke2024-10-025-0/+93
| | | | | |
* | | | | | Merge pull request #97550 from AThousandShips/hash_fixRémi Verschelde2024-10-021-0/+95
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | [Core] Add missing `HashMapComparatorDefault` cases
| * | | | | | [Core] Add missing `HashMapComparatorDefault` casesA Thousand Ships2024-09-281-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added for: * `AABB` * `Basis` * `Color` * `Plane` * `Projection` * `Quaternion` * `Rect2` * `Transform2D` * `Transform3D` * `Vector4` Ensures these handles `NaN` correctly
* | | | | | | Merge pull request #97281 from reptofrog/deadzone-new-defaultRémi Verschelde2024-10-024-4/+51
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Input: Change the default deadzone value for new actions from 0.5 to 0.2
| * | | | | | | Changed the default deadzone value for new actions from 0.5 to 0.2Roman Morozov2024-10-014-4/+51
| | |/ / / / / | |/| | | | |
* | | | | | | Merge pull request #93299 from rune-scape/fix-refRémi Verschelde2024-10-027-187/+152
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | Fix RefCounted releasing early and not clearing reference
| * | | | | | Refactor ref-counting code and fix ref counted releasing before aquiringrune-scape2024-09-217-187/+152
| |/ / / / /
* | | | | | Merge pull request #97647 from KoBeWi/yearly_REPL_pull_requestRémi Verschelde2024-10-011-0/+36
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Add expression evaluater to debugger (REPL)
| * | | | | | Add expression evaluater to debugger (REPL)kobewi2024-10-011-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: rohanrhu <rohanrhu2@gmail.com>
* | | | | | | Merge pull request #97532 from kisg/use_loader_library_checkRémi Verschelde2024-10-014-1/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | GDExtension: Use loader to check if the library exists.
| * | | | | | | GDExtension: Use loader to check if the library exists.Gergely Kis2024-09-294-1/+8
| |/ / / / / /
* | | | | | | Merge pull request #92237 from timothyqiu/url-fragmentRémi Verschelde2024-10-012-5/+22
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | String: Parse fragment from URL
| * | | | | | Parse fragment from URLHaoyu Qiu2024-09-272-5/+22
| | | | | | |
* | | | | | | Add `@export_tool_button` annotation for easily creating inspector buttonsDanil Alexeev2024-09-272-0/+2
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: jordi <creptthrust@gmail.com> Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
* | | | | | Merge pull request #95930 from aaronfranke/bind-array-setRémi Verschelde2024-09-271-0/+31
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Bind Array and Packed*Array `get` and `set` functions
| * | | | | | Bind Array get and set functionsAaron Franke2024-09-261-0/+31
| |/ / / / /
* | | | | | Merge pull request #93311 from dsnopek/gdextension-required-virtualsRémi Verschelde2024-09-275-82/+93
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | GDExtension: Mark virtual function as `is_required` in `extension_api.json`
| * | | | | GDExtension: Mark virtual function as `is_required` in `extension_api.json`David Snopek2024-09-115-82/+93
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Jovan Gerodetti <jovan.gerodetti@titannano.de>
* | | | | | Rename Vector4.components -> coordLukas Tenbrink2024-09-261-3/+3
| | | | | |
* | | | | | Merge pull request #97483 from akien-mga/clang-format-19.1.0Rémi Verschelde2024-09-261-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | CI: Update `clang-format` pre-commit hook to 19.1.0
| * | | | | | CI: Update `clang-format` pre-commit hook to 19.1.0Rémi Verschelde2024-09-261-1/+1
| | |_|/ / / | |/| | | |
* | | | | | Merge pull request #97118 from mihe/patch-exportsRémi Verschelde2024-09-262-0/+19
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Add ability to export patch packs
| * | | | | | Add ability to export patch packsMikael Hermansson2024-09-252-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Poq Xert <poqxert@poqxert.ru>
* | | | | | | Merge pull request #96923 from Repiteo/style/warning-admonitionRémi Verschelde2024-09-263-7/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Style: Add `WARNING:` as new comment admonition
| * | | | | | | Style: Add `WARNING:` as new comment admonitionThaddeus Crews2024-09-253-7/+10
| | |/ / / / / | |/| | | | |
* | | | | | | Merge pull request #95678 from Hilderin/fix-slow-load-on-large-project-v2Rémi Verschelde2024-09-262-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix slow editor load on large projects (v2)
| * | | | | | | Fix slow editor load on large projects (v2)Hilderin2024-09-252-2/+2
| | | | | | | |