Spartan322
cd86012a9d
Merge commit godotengine/godot@71a9948157
2025-07-19 14:15:00 -04:00
Serhii Snitsaruk
a095c5e3fa
GDScript call stack as reverse linked list with fixed coroutines
...
* GDScript call stack as reverse linked list with issues fixed
(originally proposed in 91006).
* Fix coroutine issues with call stack by resuming async call chain
inside `GDScriptFunction::call()`.
* This fixes corrupted line numbers for coroutines in the debugger and
backtrace (106489).
Co-authored-by: Juan Linietsky <reduzio@gmail.com >
2025-06-30 11:37:42 +02:00
Spartan322
b666f4fc15
Merge commit godotengine/godot@de37627404
2025-05-29 05:22:55 -04:00
Fabio Alessandrelli
c28d5d0058
Revert "Expose get_rpc_config and get_node_rpc_config"
...
This reverts commit 8835f326b1 .
2025-05-26 15:57:38 +02:00
Spartan322
38fb5272ad
Merge commit godotengine/godot@7a0ab9d561
2025-05-22 14:03:25 -04:00
Thaddeus Crews
7a0ab9d561
Merge pull request #106485 from limbonaut/fix-release-backtrace-line-numbers
...
Fix script backtrace reporting wrong line numbers in release exports
2025-05-22 12:15:10 -05:00
Serhii Snitsaruk
67d97dab5b
Fix crash on exit due to GDScript CallStack mismatched deallocation
2025-05-21 21:20:39 +02:00
Serhii Snitsaruk
e06541eb4c
Fix backtrace reporting wrong line numbers in release exports
2025-05-21 17:50:01 +02:00
Yufeng Ying
1384e82c2c
Improve ScriptLanguage get keyword API.
2025-05-17 18:43:19 +08:00
Spartan322
63f2d58fcf
Merge commit godotengine/godot@428a762e98
2025-05-14 14:16:55 -04:00
Aaron Franke
067704f1cd
Add a keyword for abstract classes in GDScript
...
Co-authored-by: Danil Alexeev <danil@alexeev.xyz >
2025-05-02 00:03:04 -07:00
Spartan322
e2c671a4c3
Merge commit godotengine/godot@d00f25ecd9
2025-04-25 16:31:50 -04:00
Thaddeus Crews
28089c40c1
Merge pull request #91006 from reduz/live-backtrace
...
Ability to print and log script backtraces
2025-04-24 17:18:52 -05:00
reduz
d1dcb40d56
Ability to print and log script backtraces
...
Co-authored-by: Mikael Hermansson <mikael@hermansson.io >
2025-04-24 18:54:41 +02:00
Spartan322
2b59059dde
Merge commit godotengine/godot@2d3bdcac35
2025-04-19 16:05:28 -04:00
Thaddeus Crews
4248411baf
Merge pull request #102521 from HolonProduction/cancel-await
...
GDScript: Cancel suspended functions when reloading a script
2025-04-08 12:32:52 -05:00
Michael Alexsander
ce8d2e4917
Implement class detection in GDScript for build configuration
2025-03-13 21:24:56 -03:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
HolonProduction
676e4c9013
GDScript: Cancel suspended functions when reloading a script
2025-03-06 11:34:40 +01:00
Spartan322
e2d0cc2ded
Merge commit godotengine/godot@ad9abe841d
2025-02-11 21:06:34 -05:00
Rémi Verschelde
daa074881b
Revert "Fixed resource loader using not fully loaded scripts"
...
This reverts commit fd5fc9f3ee .
This caused significant regressions which are worse than the bug that #96499
aimed to address.
- Reverts #96499 .
- Reopens #95909 .
- Supersedes #102063 .
- Fixes #99006 .
- Fixes #101615 .
2025-02-04 19:51:54 +01:00
Spartan322
35e289fa5e
Merge commit godotengine/godot@0b6a717ac1
2025-02-04 11:38:32 -05:00
Pedro J. Estébanez
318af42020
Include more attributes in the global class names cache
2025-01-29 09:39:50 +01:00
Spartan322
fa0b4af786
Merge commit godotengine/godot@a7a2a12bfd
2024-12-21 05:32:01 -05:00
Rémi Verschelde
0a37e12a9b
Merge pull request #100610 from YYF233333/style
...
Remove unused variable in `GDScriptLanguage`
2024-12-20 23:56:58 +01:00
Thaddeus Crews
a4f423cc97
Merge pull request #78489 from dalexeev/gds-add-disassembling-implicit-funcs
...
GDScript: Add disassembling implicit and lambda functions
2024-12-19 19:59:36 -06:00
Yufeng Ying
a43f90b89d
Remove unused variable in GDScriptLanguage.
2024-12-20 00:48:06 +08:00
Danil Alexeev
80d11500b5
Code Editor: Add documentation tooltips
2024-12-15 10:51:33 +03:00
Danil Alexeev
a73573b093
GDScript: Add disassembling implicit and lambda functions
2024-11-26 17:07:21 +03:00
George L. Albany
77eaec766e
Merge pull request #818 from Spartan322/fixup/copyright-headers
...
Fix copyright headers referring to Godot
2024-10-27 18:22:19 +00:00
Spartan322
6beb1eef9a
Fix copyright headers referring to Godot
2024-10-27 11:17:29 -04:00
Spartan322
953af98c79
Merge commit godotengine/godot@61accf0605
2024-10-26 22:41:20 -04:00
Thaddeus Crews
2584f75537
Merge pull request #96499 from beev1s/shallow-script-cache-error
...
Fix resource loader not resolving shallow loaded scripts through dependencies
2024-10-25 13:04:09 -05:00
Dubhghlas McLaughlin
e8542b06ac
Rebrand preambles to Redot
...
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 >
2024-10-11 02:26:51 -04:00
Rémi Verschelde
8ebfd89359
Merge pull request #96024 from Ryan-000/expose_get_rpc_config
...
Expose `get_rpc_config` and `get_node_rpc_config`
2024-09-16 13:34:34 +02:00
Moritz Burgdorff
fd5fc9f3ee
Fixed resource loader using not fully loaded scripts
2024-09-14 17:21:32 +02:00
Ryan
8835f326b1
Expose get_rpc_config and get_node_rpc_config
...
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 >
2024-09-04 15:45:22 -04:00
Hilderin
ef6f873938
Fix editor needs restart after adding GDExtensions
2024-08-29 06:15:32 -04:00
Alistair Leslie-Hughes
f489c313cc
gdscript: Only include profiling variables when DEBUG is enabled
2024-08-12 10:14:42 +10:00
Mikael Hermansson
6852f9497c
Speed up GDScriptLanguage::finish
2024-07-18 12:30:45 +02:00
rune-scape
7f7114c008
GDScript: partially allow some functions on invalid scripts
...
+ always default initialize static variables
+ dont invalidate script when dependant scripts don't compile/resolve
2024-06-02 02:08:26 -07:00
Rémi Verschelde
0a67ee52d1
Revert "GDScript: Implement get_dependencies()"
...
This reverts commit dc73440f89 .
This commit in some form is needed to fix handling of dependencies on
export, but as it's also used for import, it's exposing some pre-existing
issues which we need to solve first.
So reverting for now to give ourselves time to iron this out for a future
Godot release.
Fixes #91726 .
2024-05-13 16:59:43 +02:00
Rémi Verschelde
4d43fe1c96
Merge pull request #91472 from vnen/gdscript-default-static-variables-non-tool
...
GDScript: Initialize static variables with defaults in-editor
2024-05-03 01:21:40 +02:00
George Marques
22236380c0
GDScript: Initialize static variables with defaults in-editor
...
When the script is not marked as `@tool` the static constructor is not
called and thus the variables contain `null` by default. But since some
validated operations requires a valid value, this would cause a crash.
This commit solves this by initializing the static variables with a
default value based on their types in the editor, when they are not
marked as `@tool`, so if some `@tool` script access them, they will have
a valid typed value, avoiding the crash.
2024-05-02 15:09:22 -03:00
George Marques
99b702ea3d
GDScript: Call implicit ready on base script first
...
It is generally expected that the base class is called before the
inherited clas. This commit implements this behavior for the implicit
ready function (`@onready` annotation) to make it consistent with the
expectations.
2024-05-02 11:25:52 -03:00
George Marques
dc73440f89
GDScript: Implement get_dependencies()
...
The parser and analyzer now track the dependencies of the script and
return the list when the resource loader ask for them.
What is considered a dependency:
- Any `preload()` call.
- The base script this one extends.
- Any identifier, including types, that refers to global scripts.
- Any autoload singleton reference.
2024-04-18 11:54:37 -03:00
ppphp
d4e1a74efb
Add 'override' mark to ResourceFormat class
2024-03-25 04:06:34 +08:00
A Thousand Ships
59bcc2888c
Add methods to get argument count of methods
...
Added to:
* `Callable`s
* `Object`s
* `ClassDB`
* `Script(Instance)`s
2024-03-10 11:02:43 +01:00
Danil Alexeev
8ffc50ee8c
GDScript: Canonicalize script path in FQCN
2024-02-26 10:46:24 +03:00
Rémi Verschelde
6f805dee2a
Merge pull request #88365 from dalexeev/gds-fix-gdc-export
...
GDScript: Fix extension comparison for exported scripts
2024-02-15 17:35:58 +01:00