Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WorkerThreadPool: Fix end-of-yield logic potentially leading to deadlocks | Pedro J. Estébanez | 2024-09-17 | 1 | -1/+4 |
| | | | | (cherry picked from commit 5dade0e08b6647cf4b836402a797e9b8f46052b1) | ||||
* | Object: Let debug lock handle callee destruction within call chain gracefully | Pedro J. Estébanez | 2024-09-17 | 1 | -4/+7 |
| | | | | | Co-authored-by: lawnjelly <lawnjelly@gmail.com> (cherry picked from commit 10e2318bdeccdc33f95ebdb2c7683b816dda67fb) | ||||
* | Fix virtual binding for `ScriptLanguageExtension::_reload_scripts` | voidedWarranties | 2024-09-16 | 1 | -0/+1 |
| | | | | (cherry picked from commit d65ea6fb9cc26359bb6f2aa704b2a6b7604c3fd3) | ||||
* | Avoid potential crash on signal disconnection | Pedro J. Estébanez | 2024-09-16 | 1 | -1/+5 |
| | | | | (cherry picked from commit 32b7f835d8fd7466c58ed84a20c46ba9c802e36b) | ||||
* | Fix global class cache file not present when no class name | Hilderin | 2024-07-31 | 2 | -5/+0 |
| | |||||
* | Fix use-after-free in WorkerThreadPool | Alvin Wong | 2024-07-29 | 1 | -1/+5 |
| | |||||
* | Merge pull request #94526 from RandomShaper/wtp_rl_prize_prequel | Rémi Verschelde | 2024-07-19 | 1 | -5/+7 |
|\ | | | | | | | Batch of fixes for WorkerThreadPool and ResourceLoader (safe set) | ||||
| * | Fixup recent changes to threading concerns | Pedro J. Estébanez | 2024-07-16 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ResourceLoader: - Fix invalid tokens being returned. - Remove no longer written `ThreadLoadTask::dependent_path` and the code reading from it. - Clear deadlock hazard by keeping the mutex unlocked during userland polling. WorkerThreadPool: - Include thread call queue override in the thread state reset set, which allows to simplify the code that handled that (imperfectly) in the ResourceLoader. - Handle the mutex type correctly on entering an allowance zone. CommandQueueMT: - Handle the additional possibility of command buffer reallocation that mutex unlock allowance introduces. | ||||
| * | WorkerThreadPool: Fix wrong sync logic breaking task map integrity | Pedro J. Estébanez | 2024-07-15 | 1 | -3/+4 |
| | | |||||
* | | Merge pull request #94238 from RandomShaper/ref_is_now_rc | Rémi Verschelde | 2024-07-17 | 1 | -1/+1 |
|\ \ | | | | | | | | | | Make errors on `RefCounted.free()` more accurate | ||||
| * | | Make errors on RefCounted.free() more accurate | Pedro J. Estébanez | 2024-07-15 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #93942 from MikeSchulze/73525 | Rémi Verschelde | 2024-07-11 | 2 | -0/+16 |
|\ \ \ | |_|/ |/| | | | | | Fix GDScript analyzer error when instantiating EditorPlugins. | ||||
| * | | Fix gdscript analyzer error when instantiating EditorPlugins. | baptr | 2024-07-10 | 2 | -0/+16 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Editor code is not instantiable outside of the editor (https://github.com/godotengine/godot/blob/1d14c054a12dacdc193b589e4afb0ef319ee2aae/core/object/class_db.cpp#L369). This is fine for editor plugins and the like, but the GDScript analyzer balks at it, causing F5 runs to fail: #73525. Instead, we really just want to know if the type is abstract - so add a new ClassDB method to check that and nothing else. Update core/object/class_db.cpp Apply code review comments Co-Authored-By: Bryce <1522777+baptr@users.noreply.github.com> | ||||
* / | GDExtension: Fix setting base class properties on a runtime class | David Snopek | 2024-07-08 | 2 | -19/+45 |
|/ | |||||
* | WorkerThreadPool: Fix wrong pointer used in the case of BinaryMutex | Pedro J. Estébanez | 2024-06-28 | 1 | -2/+2 |
| | |||||
* | Merge pull request #93032 from RandomShaper/wtp_antilock | Rémi Verschelde | 2024-06-28 | 2 | -25/+90 |
|\ | | | | | | | GDScript: Avoid deadlock possibility in multi-threaded load | ||||
| * | WorkerThreadPool: Refactor deadlock prevention collaboration into a generic ↵ | Pedro J. Estébanez | 2024-06-19 | 2 | -25/+90 |
| | | | | | | | | | | | | | | mechanism This is strictly beyond a refactor because it also changes when the mutexes are relocked, but that's only for extra safety. | ||||
* | | Lookup method also in base scripts of a PlaceHolderScriptInstance | Raul Santos | 2024-06-22 | 1 | -1/+7 |
| | | |||||
* | | Merge pull request #93288 from rune-scape/gdextension-const-stringname-weird | Rémi Verschelde | 2024-06-18 | 1 | -37/+4 |
|\ \ | | | | | | | | | | Object: Use const correct `GDExtensionConstStringNamePtr` | ||||
| * | | Object: use correct GDExtensionConstStringNamePtr | rune-scape | 2024-06-17 | 1 | -37/+4 |
| | | | |||||
* | | | Make profiling_get_frame_data call the correct GDVIRTUAL method. | Jovan Gerodetti | 2024-06-18 | 1 | -1/+1 |
|/ / | |||||
* | | WorkerThreadPool: Fix thread message queue not restored after overridden in ↵ | Pedro J. Estébanez | 2024-06-13 | 2 | -5/+4 |
| | | | | | | | | | | | | a task Also, simplifies the thread override teardown in MessageQueue. | ||||
* | | Merge pull request #92827 from raulsntos/core/node-to_string | Rémi Verschelde | 2024-06-12 | 1 | -0/+1 |
|\ \ | | | | | | | | | | Use GDExtension `to_string` in Node | ||||
| * | | Use GDExtension `to_string` in Node | Raul Santos | 2024-06-11 | 1 | -0/+1 |
| | | | | | | | | | | | | Matches the `Object::to_string` implementation. | ||||
* | | | Revert "Fix method name for custom callable" | Rémi Verschelde | 2024-06-11 | 1 | -8/+6 |
| | | | | | | | | | | | | | | | | | | This reverts commit e88095ed8fbc7039c1724e51ee84f154fdf49305. Fixes #92695. | ||||
* | | | Expose several EngineDebugger methods and signals as plugin callbacks | Chris Cranford | 2024-06-10 | 1 | -0/+1 |
|/ / | |||||
* / | Avoid editor error reporting using resource loader thread's call queues | Pedro J. Estébanez | 2024-05-31 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #92350 from 4d49/undo-redo-fix-callable-name | Rémi Verschelde | 2024-05-28 | 1 | -6/+8 |
|\ | | | | | | | Fix `UndoRedo` method name for custom `Callable` | ||||
| * | Fix method name for custom callable | Mansur Isaev | 2024-05-25 | 1 | -6/+8 |
| | | |||||
* | | Fix `ClassDB` not checking for `API_EDITOR_EXTENSION` | Mikael Hermansson | 2024-05-25 | 1 | -3/+3 |
|/ | |||||
* | Don't use `ERR_PRINT_ONCE()` for runtime class error because it will hide errors | David Snopek | 2024-05-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #91909 from KoBeWi/have_fun_reviewing_this | Rémi Verschelde | 2024-05-14 | 4 | -4/+0 |
|\ | | | | | | | Use Core/Scene stringnames consistently | ||||
| * | Use Core/Scene stringnames consistently | kobewi | 2024-05-13 | 4 | -4/+0 |
| | | |||||
* | | Merge pull request #91630 from RandomShaper/enh_mat_sh_update | Rémi Verschelde | 2024-05-13 | 2 | -59/+0 |
|\ \ | |/ |/| | | | Let materials' shaders update happen on loader threads | ||||
| * | Let materials' shaders update happen on loader threads | Pedro J. Estébanez | 2024-05-06 | 2 | -59/+0 |
| | | |||||
* | | Add shorthand for using singleton string names | kobewi | 2024-05-11 | 3 | -10/+10 |
| | | |||||
* | | GDExtension: Prevent crash during shutdown as singletons are deleted | David Snopek | 2024-05-10 | 1 | -3/+7 |
| | | |||||
* | | Object: Add missing lock | Pedro J. Estébanez | 2024-05-08 | 1 | -3/+4 |
| | | |||||
* | | Merge pull request #91570 from Naros/preferred_file_name_casing_default | Rémi Verschelde | 2024-05-07 | 1 | -1/+10 |
|\ \ | | | | | | | | | | Add default implementation of `ScriptLanguageExtension::preferred_file_name_casing` | ||||
| * | | Add default implementation of ↵ | Chris Cranford | 2024-05-04 | 1 | -1/+10 |
| |/ | | | | | | | `ScriptLanguageExtension::preferred_file_name_casing`. | ||||
* / | Reduce and prevent unnecessary random-access to `List` | A Thousand Ships | 2024-05-04 | 3 | -11/+12 |
|/ | | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable | ||||
* | Add PackedVector4Array Variant type | K. S. Ernest (iFire) Lee | 2024-05-03 | 1 | -0/+1 |
| | | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> | ||||
* | Merge pull request #91247 from AThousandShips/callable_fix | Rémi Verschelde | 2024-04-29 | 2 | -4/+4 |
|\ | | | | | | | Fix unsafe uses of `Callable.is_null()` | ||||
| * | Fix unsafe uses of `Callable.is_null()` | A Thousand Ships | 2024-04-27 | 2 | -4/+4 |
| | | | | | | | | | | `Callable.is_null()` is not equivalent to `!Callable.is_valid()` and doesn't guarantee the call is valid. | ||||
* | | GDExtension: provide `free_property_list_func` with length of array | Jan Haller | 2024-04-27 | 3 | -4/+11 |
|/ | |||||
* | Merge pull request #90540 from Repiteo/core/type-info-use-type-traits | Rémi Verschelde | 2024-04-24 | 1 | -5/+5 |
|\ | | | | | | | Core: Use `<type_traits>` where applicable | ||||
| * | Core: Use `<type_traits>` where applicable | Thaddeus Crews | 2024-04-11 | 1 | -5/+5 |
| | | |||||
* | | Merge pull request #90776 from Naros/avoid-script-language-not-overridden | Rémi Verschelde | 2024-04-19 | 2 | -1/+9 |
|\ \ | | | | | | | | | | Defer call to `set_break_language` | ||||
| * | | Defer call to set_break_language | Chris Cranford | 2024-04-16 | 2 | -1/+9 |
| | | | |||||
* | | | Merge pull request #90447 from ↵ | Rémi Verschelde | 2024-04-19 | 1 | -8/+19 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | dsnopek/gdextension-hot-reload-not-classdb-instantiate Fix GDExtension hot reload for classes not created via `ClassDB::instantiate()` |