summaryrefslogtreecommitdiffstats
path: root/core/object
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@d09d82d433b03bb3773fd2a8cc8d6ccc2f8739ceSpartan3222024-11-262-1/+8
|\
| * Merge pull request #95711 from TokageItLab/warn-oneshot-propThaddeus Crews2024-11-221-0/+1
| |\ | | | | | | | | | Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
| | * Add hint for oneshot & warning when it will be updated continuouslySilc Lizard (Tokage) Renew2024-11-111-0/+1
| | |
| * | Force `get_thread_count()` to `1` if single threadedAdam Scott2024-11-181-1/+7
| | |
* | | Merge commit godotengine/godot@0f5f3bc9546b46b2029fc8896dc859697f1eab97Spartan3222024-11-111-43/+61
|\| |
| * | Merge pull request #98963 from RandomShaper/fix_classdb_deadlockThaddeus Crews2024-11-101-43/+61
| |\ \ | | | | | | | | | | | | Fix deadlocks related to ClassDB queries about global classes
| | * | Fix deadlocks related to ClassDB queries about global classesPedro J. Estébanez2024-11-081-43/+61
| | | | | | | | | | | | | | | | | | | | | | | | `ClassDB::can_instantiate()` and other reflection methods deadlock if the type is an script global class, when such script indirectly uses a not-yet-registered class. The reason is the `ClassDB` read lock is still held when invoking the `ResourceLoader` to load the class script, which may in turn need to lock for writing (for the class registration). In particular, this happens with some types related to animation tree, that aren't registered at engine startup, but can happen with others, especially ones from the user. Registration statements are also added for the animation-related types that were lacking them.
* | | | Merge commit godotengine/godot@87318a2fb7fffeb72adca934e31915be077c3d1fSpartan3222024-11-061-1/+1
|\| | |
| * | | Style: Apply `clang-tidy` fixes (superficial)Thaddeus Crews2024-11-041-1/+1
| |/ / | | | | | | | | | • `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
* | | Merge commit godotengine/godot@c6c464cf9ae56e8b68620af65125dd980d0e8122Spartan3222024-11-024-68/+68
|\| |
| * | [Core] Improve error messages with `vformat`A Thousand Ships2024-10-304-68/+68
| | |
* | | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-303-15/+15
|\| |
| * | Set clang-format `RemoveSemicolon` rule to `true`Adam Scott2024-10-253-15/+15
| |/ | | | | | | - Set clang-format `Standard` rule to `c++20`
* | Fix copyright headers referring to GodotSpartan3222024-10-2723-46/+46
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-1123-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* | Rebrand Godot to RedotRandolph W. Aarseth II2024-10-112-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Linux Editor tests workflow matrix Add Windows Editor w/ Mono workflow matrix Add Generate Glue Code job to Windows workflow Add Build GodotSharp job to Windows workflow Add godot compatibility version references Add Godot author info Add Godot version compatibility info Add Godot donor info Add Godot authors and donors to editor_about.cpp Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Merge pull request #93299 from rune-scape/fix-refRémi Verschelde2024-10-021-66/+36
|\ | | | | | | Fix RefCounted releasing early and not clearing reference
| * Refactor ref-counting code and fix ref counted releasing before aquiringrune-scape2024-09-211-66/+36
| |
* | Add `@export_tool_button` annotation for easily creating inspector buttonsDanil Alexeev2024-09-271-0/+1
| | | | | | | | | | | | 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 #93311 from dsnopek/gdextension-required-virtualsRémi Verschelde2024-09-273-80/+90
|\ \ | | | | | | | | | 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-113-80/+90
| | | | | | | | | | | | Co-authored-by: Jovan Gerodetti <jovan.gerodetti@titannano.de>
* | | Merge pull request #94864 from rune-scape/add-missing-method-bindRémi Verschelde2024-09-261-89/+48
|\ \ \ | | | | | | | | | | | | Add missing CallableCustomMethodPointer for const methods
| * | | Add missing CallableCustomMethodPointer for const methodsrune-scape2024-09-231-89/+48
| | |/ | |/|
* | | SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-251-0/+1
| | |
* | | Discard additional redo on commiting actionskobewi2024-09-242-4/+5
|/ /
* | Merge pull request #87344 from AThousandShips/signal_connectedRémi Verschelde2024-09-212-0/+20
|\ \ | | | | | | | | | [Core] Add way to check if a signal has any connections
| * | [Core] Add way to check if a signal has any connectionsA Thousand Ships2024-09-202-0/+20
| | | | | | | | | | | | Added to `Object` and `Signal`
* | | Merge pull request #97168 from Hilderin/fix-reloading-scripts-already-in-useRémi Verschelde2024-09-202-2/+15
|\ \ \ | |/ / |/| | Fix reloading scripts already in use
| * | Fix reloading scripts already in useHilderin2024-09-202-2/+15
| | |
* | | Make editor use translation domainsHaoyu Qiu2024-09-171-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | How editor plugins use this feature: 1. Pick a unique translation domain name. 2. `_enter_tree()`: load translations into that translation domain. 3. Call `set_translation_domain()` for its root UI node. 4. `_exit_tree()`: remove that translation domain. Plugins can also set the translation domain to `godot.editor` for nested nodes that should use editor translations. `EditorFileDialog` automatically does this.
* | | Allow configuring which translation domain Object.tr usesHaoyu Qiu2024-09-172-2/+19
|/ /
* | Merge pull request #96959 from RandomShaper/revamp_languages_exitClay John2024-09-162-51/+155
|\ \ | | | | | | WorkerThreadPool: Revamp interaction with ScriptServer
| * | WorkerThreadPool: Add safety point between languages finished and pool ↵Pedro J. Estébanez2024-09-162-20/+96
| | | | | | | | | | | | termination
| * | WorkerThreadPool: Refactor running and exit-requested as runlevelsPedro J. Estébanez2024-09-162-10/+30
| | |
| * | WorkerThreadPool: Improve logicPedro J. Estébanez2024-09-161-25/+36
| | | | | | | | | | | | | | | - The main thread function and the collaborative wait functions have a much more similar structure than earlier, which yields (pun intended) better maintainability. - Also, there are not assertions anymore about the reason for ending a wait being valid, because spurious awakes can happen and so the assert would fail without that indicating an issue.
| * | Revert "WorkerThreadPool: Enhance lifetime for more flexibility"Pedro J. Estébanez2024-09-131-4/+1
| | | | | | | | | | | | This reverts commit 2d1dd41ef5dcb51ddb607ba572e63b605b9191be.
* | | Merge pull request #96856 from RandomShaper/selfdestruct_correctnessRémi Verschelde2024-09-161-4/+7
|\ \ \ | | | | | | | | | | | | Object: Let debug lock handle callee destruction within call chain gracefully
| * | | Object: Let debug lock handle callee destruction within call chain gracefullyPedro J. Estébanez2024-09-121-4/+7
| | | | | | | | | | | | | | | | Co-authored-by: lawnjelly <lawnjelly@gmail.com>
* | | | Merge pull request #96024 from Ryan-000/expose_get_rpc_configRémi Verschelde2024-09-163-2/+4
|\ \ \ \ | |_|/ / |/| | | | | | | Expose `get_rpc_config` and `get_node_rpc_config`
| * | | Expose get_rpc_config and get_node_rpc_configRyan2024-09-043-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add documentation Update doc/classes/Node.xml change name of get_node_rpc_config to get_rpc_config Co-Authored-By: moondog <159832633+dog-on-moon@users.noreply.github.com> Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
* | | | [Core] Optionally delete `Ref` `nullptr` comparisonsA Thousand Ships2024-09-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Adds an optional (default false) compile option to enable comparing `Ref` to `nullptr` to ensure correct use, as well as future expandsion for more general dev checks (enabled with `dev_mode`)
* | | | Merge pull request #92888 from ↵Rémi Verschelde2024-09-122-0/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Hilderin/fix-unable-to-use-resourceLoader-in-c#-after-threaded-load Fix inability to use ResourceLoader in C# after threaded load in GDScript
| * | | | Fix Unable to use ResourceLoader in C# after threaded load in GDScript #92798Hilderin2024-09-112-0/+11
| | |/ / | |/| |
* | | | Merge pull request #95292 from aaronp64/is_parent_class_perfRémi Verschelde2024-09-121-8/+4
|\ \ \ \ | |_|_|/ |/| | | | | | | Improve `ClassDB::_is_parent_class` performance
| * | | Improve ClassDB::_is_parent_class performanceaaronp642024-08-081-8/+4
| | | | | | | | | | | | | | | | Change ClassDB::_is_parent_class to use ClassInfo::inherits_ptr, instead of looking up each inherited class name.
* | | | Merge pull request #96760 from RandomShaper/wtp_langs_exit_threadRémi Verschelde2024-09-114-9/+32
|\ \ \ \ | | | | | | | | | | | | | | | Make use of languages' thread enter/exit more correct
| * | | | Make languages' thread enter/exit more resilientPedro J. Estébanez2024-09-104-8/+28
| | | | |
| * | | | WorkerThreadPool: Enhance lifetime for more flexibilityPedro J. Estébanez2024-09-101-1/+4
| | |/ / | |/| |
* / | | StringName: Fix empty hashrune-scape2024-09-093-45/+0
|/ / / | | | | | | | | | +Fixed compat hashes
* | | Merge pull request #78656 from Repiteo/typed-dictionaryRémi Verschelde2024-09-061-0/+1
|\ \ \ | | | | | | | | | | | | Implement typed dictionaries