summaryrefslogtreecommitdiffstats
path: root/modules/gdscript
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@711c725cf1b641d05d6cc988a64601622e48fe4aSpartan3222024-11-152-3/+16
|\
| * Merge pull request #96606 from RandomShaper/res_loader_cherrypicks_4.3Rémi Verschelde2024-11-152-3/+16
| |\ | | | | | | | | | [4.3] Cherry-picks related to `ResourceLoader`
| | * WorkerThreadPool (plus friends): Overhaul unlock allowance zonesPedro J. Estébanez2024-09-052-3/+16
| | | | | | | | | | | | | | | | | | This fixes a rare but possible deadlock, maybe due to undefined behavior. The new implementation is safer, at the cost of some added boilerplate. (cherry picked from commit f4d76853b9d921e3645295f9bebc39eb73661e67)
* | | Fix copyright headers referring to GodotSpartan3222024-10-2758-116/+116
| | |
* | | Rebrand preambles to RedotSpartan3222024-10-1358-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit e8542b06acca3c1bdeee4b528411771f0819f084) 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 4.3 to RedotTrashguy2024-10-132-2/+2
|/ /
* | LSP: Don't use smart resolve for completionHolonProduction2024-09-171-13/+0
| | | | | | | | (cherry picked from commit 8155c1f836806f24ec055c7d3c109cee2c993110)
* | LSP: Omit some values based on specification version 3.17HolonProduction2024-09-171-12/+20
| | | | | | | | (cherry picked from commit 4d713d91b589155976150c64128a66fa7996510e)
* | Object: Add tests about the safety of tail destructionPedro J. Estébanez2024-09-172-0/+55
| | | | | | | | (cherry picked from commit bb7752059966b38f75714914474da1b9f93dc294)
* | Fix issue with GDScript binary tokens being non-deterministicMikael Hermansson2024-09-171-0/+1
| | | | | | | | (cherry picked from commit e120792760795a834e86c05b73804573d956a77b)
* | GDScript: Do not produce `UNUSED_SIGNAL` warning for common implicit usesDanil Alexeev2024-09-173-8/+63
|/ | | | (cherry picked from commit d1e2afaae33aeb4c64708b3c6d439290f35a03ea)
* Fix resolve class inheritance after file renameHilderin2024-08-101-9/+1
|
* GDScript: Fix too many calls to 'remove_parser'rune-scape2024-08-033-27/+35
| | | | | +fix excessive memory allocations when 'load'ing many dependant scripts +fix excessive calls to vformat
* GDScript: Fix common mismatched external parser errorsrune-scape2024-07-3115-44/+225
|
* Merge pull request #94730 from dalexeev/gds-fix-while-locals-clearingRémi Verschelde2024-07-263-7/+32
|\ | | | | | | GDScript: Fix locals clearing after exiting `while` block
| * GDScript: Fix locals clearing after exiting `while` blockDanil Alexeev2024-07-253-7/+32
| |
* | Merge pull request #90134 from AThousandShips/construct_fixRémi Verschelde2024-07-264-0/+27
|\ \ | | | | | | | | | [Core] Fix `Variant::construct` of `Object`
| * | [Core] Fix `Variant::construct` of `Object`A Thousand Ships2024-07-254-0/+27
| | | | | | | | | | | | Variant type was not updated correctly causing leaks in ref-counted
* | | Merge pull request #89274 from 0x0ACB/unchecked_castRémi Verschelde2024-07-261-1/+3
|\ \ \ | |/ / |/| | | | | Fix use after free in `GDScriptLanguage::debug_get_globals`
| * | Fix user after free in `GDScriptLanguage::debug_get_globals`ACB2024-03-081-1/+3
| | |
* | | Revert "GDScript: Fix common mismatched external parser errors"Rémi Verschelde2024-07-252-124/+35
| |/ |/| | | | | | | | | | | This reverts commit c75225ffb26eb69d0caca930732dce63af6c6707. This caused a crashing regression for multiple users: https://github.com/godotengine/godot/pull/94617#issuecomment-2247868580
* | Merge pull request #94678 from rune-scape/clear-abandoned-parser-refsRémi Verschelde2024-07-242-1/+34
|\ \ | | | | | | | | | GDScriptCache: Clear abandoned parser refs
| * | GDScriptCache: Clear abandoned parser refsrune-scape2024-07-232-1/+34
| | |
* | | Merge pull request #94674 from ↵Rémi Verschelde2024-07-243-1/+97
|\ \ \ | | | | | | | | | | | | | | | | dalexeev/gds-fix-incorrect-setter-call-for-ref-types GDScript: Fix incorrect setter call for reference types
| * | | GDScript: Fix incorrect setter call for reference typesDanil Alexeev2024-07-243-1/+97
| | | |
* | | | Merge pull request #94676 from rune-scape/test-oopsRémi Verschelde2024-07-241-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | GDScriptTestRunner: Fix compiler error output
| * | | | GDScriptTestRunner: Fix compiler error outputrune-scape2024-07-231-1/+1
| | |/ / | |/| |
* | | | Merge pull request #94664 from dalexeev/gds-fix-make-arguments-hintRémi Verschelde2024-07-241-14/+7
|\ \ \ \ | | | | | | | | | | | | | | | GDScript: Fix incorrect default values ​​in `_make_arguments_hint()`
| * | | | GDScript: Fix incorrect default values ​​in `_make_arguments_hint()`Danil Alexeev2024-07-231-14/+7
| | |/ / | |/| |
* | | | Merge pull request #94617 from rune-scape/fix-mismatched-parsersRémi Verschelde2024-07-242-35/+124
|\ \ \ \ | | | | | | | | | | | | | | | GDScript: Fix common mismatched external parser errors
| * | | | GDScript: Fix common mismatched external parser errorsrune-scape2024-07-232-35/+124
| |/ / /
* | | | Merge pull request #85382 from HolonProduction/in-case-of-a-scriptRémi Verschelde2024-07-241-0/+14
|\ \ \ \ | |_|/ / |/| | | | | | | GDScript: Generate `arghint` for script types
| * | | Generate `arghint` for script typesHolonProduction2024-07-131-0/+14
| | | |
* | | | GDScript: Fix false positive cases of `ENUM_VARIABLE_WITHOUT_DEFAULT`Danil Alexeev2024-07-222-2/+16
| |/ / |/| |
* | | Merge pull request #94505 from mihe/speed-up-gdscript-shutdownRémi Verschelde2024-07-182-4/+17
|\ \ \ | | | | | | | | | | | | Speed up `GDScriptLanguage::finish`
| * | | Speed up `GDScriptLanguage::finish`Mikael Hermansson2024-07-182-4/+17
| | | |
* | | | Merge pull request #94424 from HolonProduction/completion-fix-depended-parsersRémi Verschelde2024-07-183-19/+12
|\ \ \ \ | |/ / / |/| | | | | | | Autocompletion: Register depended parsers with the main parser
| * | | Autocompletion: register depended parsers with the main parserHolonProduction2024-07-183-19/+12
| |/ /
* | | Merge pull request #94327 from HolonProduction/underscore_identifierRémi Verschelde2024-07-173-1/+19
|\ \ \ | | | | | | | | | | | | GDScript: Restore support for `Token::UNDERSCORE` in identifiers
| * | | GDScript: Restore support for `Token::UNDERSCORE` in identifiersHolonProduction2024-07-153-1/+19
| |/ /
* | | Merge pull request #94238 from RandomShaper/ref_is_now_rcRémi Verschelde2024-07-171-2/+2
|\ \ \ | | | | | | | | | | | | Make errors on `RefCounted.free()` more accurate
| * | | Make errors on RefCounted.free() more accuratePedro J. Estébanez2024-07-151-2/+2
| | | |
* | | | Merge pull request #94138 from vnen/gdscript-simple-setter-chain-call-setterRémi Verschelde2024-07-173-0/+30
|\ \ \ \ | |_|/ / |/| | | | | | | GDScript: Call setter on simple setter chain without getter
| * | | GDScript: Call setter on simple setter chain without getterGeorge Marques2024-07-093-0/+30
| | | | | | | | | | | | | | | | | | | | Fixes a bug where a member variable was being set directly before calling the setter.
* | | | Merge pull request #93942 from MikeSchulze/73525Rémi Verschelde2024-07-111-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | Fix GDScript analyzer error when instantiating EditorPlugins.
| * | | | Fix gdscript analyzer error when instantiating EditorPlugins.baptr2024-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | Merge pull request #94131 from dalexeev/gds-fix-mismatched-parser-autoloadsRémi Verschelde2024-07-091-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | GDScript: Fix "Mismatched external parser" for autoloads
| * | | | | GDScript: Fix "Mismatched external parser" for autoloadsDanil Alexeev2024-07-091-1/+1
| | |/ / / | |/| | |
* | | | | Merge pull request #94025 from dalexeev/gds-fix-implicit-cast-typed-array-paramRémi Verschelde2024-07-093-3/+25
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | GDScript: Fix implicit cast to typed array when passing parameter
| * | | | GDScript: Fix implicit cast to typed array when passing parameterDanil Alexeev2024-07-073-3/+25
| | | | |