summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_compiler.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #73915 from vonagam/fix-conversions-from-native-memberRémi Verschelde2023-02-261-1/+1
|\ \ | | | | | | | | | GDScript: Fix conversions from native members accessed by identifier
| * | GDScript: Fix conversions from native members accessed by identifierDmitrii Maganov2023-02-251-1/+1
| | |
* | | Merge pull request #73964 from vonagam/fix-coroutine-compiler-typeRémi Verschelde2023-02-261-1/+1
|\ \ \ | | | | | | | | | | | | GDScript: Fix address type for coroutine results
| * | | GDScript: Fix address type for coroutine resultsDmitrii Maganov2023-02-261-1/+1
| | | |
* | | | Merge pull request #73899 from vnen/gdscript-init-defaults-beforehandRémi Verschelde2023-02-261-10/+26
|\ \ \ \ | |/ / / |/| | | | | | | GDScript: Initialize all defaults beforehand in implicit constructor
| * | | GDScript: Initialize all defaults beforehand in implicit constructorGeorge Marques2023-02-241-10/+26
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Set all the default values for typed variables before actually trying to initialize them, including `@onready` ones. This ensures that if validated calls are being used there will be a value of the correct type, even if the resolution is done out of order or deferred because of `@onready`.
* / / Revert "GDScript: Fix groups and categories been seen as members"George Marques2023-02-251-5/+1
|/ / | | | | | | | | | | | | This reverts commit 6f2a8434c675b3df2aceca4e5200aaf799eeb2bd. The commit introduces a bug where it creates spurious entries for member information.
* | GDScript: Fix groups and categories been seen as membersGeorge Marques2023-02-241-1/+5
| |
* | GDScript: Fix setting native type with script inheritanceGeorge Marques2023-02-211-6/+7
| | | | | | | | | | | | | | Sometimes the inheritance tree is compiled out of order and the base don't have yet a native type set. This is now changed to not rely on the base script but use the native type set in the datatype, which is already resolved by the analyzer.
* | GDScript: Rework type checkDmitrii Maganov2023-02-171-36/+24
| |
* | Add return type for GDScript gettersocean (they/them)2023-02-151-1/+1
| |
* | Revert "Remove script class checks when getting function signature"Rémi Verschelde2023-02-071-1/+2
| | | | | | | | | | | | This reverts commit 0fef203b1f39c3373f9f25b8e75e75f6b03f7c88. This introduced some other issues, as discussed in #72144.
* | Remove script class checks when getting function signatureAdam Scott2023-02-071-2/+1
| |
* | GDScript: Allow void functions to return calls to other void functionsGeorge Marques2023-01-311-1/+6
| |
* | GDScript: Fix issues with typed arraysDmitrii Maganov2023-01-311-27/+0
| |
* | GDScript: Fix vararg method calls with exact argumentsDmitrii Maganov2023-01-301-3/+7
|/
* Merge pull request #70948 from vnen/gdscript-ptr-method-name-in-debugGeorge Marques2023-01-231-3/+3
|\
| * GDScript: Add names for disassembling function pointersGeorge Marques2023-01-231-3/+3
| | | | | | | | | | | | When instructions use function pointers, it's not possible to retrieve their original names in the disassembly. This stores the names in vectors (in debug builds) so they can be shown.
* | GDScript: Remove function of `continue` for match statementGeorge Marques2023-01-221-10/+1
|/ | | | | | The keyword is confusing and rarely is used in the intended way. It is removed now in favor of a future feature (pattern guards) to avoid breaking compatibility later.
* Fix cyclic reference errors while reducing identifiers.Adam Scott2023-01-151-1/+1
| | | | Co-authored-by: Dmitrii Maganov <vonagam@gmail.com>
* Merge pull request #70987 from vonagam/fix-parameter-conversion-assignGeorge Marques2023-01-121-1/+1
|\
| * GDScript: Fix missing conversion for default argument valuesDmitrii Maganov2023-01-061-1/+1
| |
* | Merge pull request #69590 from anvilfolk/enumsRémi Verschelde2023-01-091-1/+1
|\ \ | | | | | | | | | GDScript enum fixes & refactor
| * | Assorted enum and native type fixesocean (they/them)2023-01-091-1/+1
| |/
* / GDScript: Don't use the NIL address to hold return value of functionsGeorge Marques2023-01-091-22/+24
|/ | | | | This prevents that the NIL address is filled with another value, which causes problems for some instructions that read from NIL.
* GDScript: Fix array as default value for parameterDmitrii Maganov2023-01-061-1/+12
|
* Unify typing of variables, constants and parameters in GDScriptDmitrii Maganov2023-01-061-3/+3
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Merge pull request #70702 from vnen/gdscript-error-on-assign-voidRémi Verschelde2023-01-031-14/+14
|\ | | | | | | GDScript: Error when assigning return value of void function
| * GDScript: Error when assigning return value of void functionGeorge Marques2022-12-301-14/+14
| | | | | | | | | | This also makes built-in method calls empty the return value when the method is void, to avoid keeping returning a garbage value in such case.
* | Merge pull request #70503 from rune-scape/inner-class-docsRémi Verschelde2023-01-031-4/+4
|\ \ | | | | | | | | | Inner classes get their docs back
| * | Inner classes get their docs backrune-scape2022-12-231-4/+4
| | |
* | | Fix usage of Enum as constantDmitrii Maganov2022-12-281-13/+7
| |/ |/|
* | Merge pull request #69991 from rune-scape/cast-typeRémi Verschelde2022-12-231-12/+17
|\ \ | |/ |/| | | GDScript: Fix cast producing null
| * GDScript: Fix cast producing nullrune-scape2022-12-121-12/+17
| |
* | GDScript: Fix built-in script and other `find_class` bugsrune-scape2022-12-151-3/+2
| |
* | GDScript: Allow out of order member resolutionrune-scape2022-12-141-0/+1
| |
* | Add GDScript member initializer implicit type conversionocean (they/them)2022-12-111-0/+15
|/
* Merge pull request #69467 from rune-scape/rune-subclass-script-pathRémi Verschelde2022-12-101-2/+2
|\ | | | | GDScript: Fix subclass script path issues
| * GDScript: Fix subclass script path issuesrune-scape2022-12-011-2/+2
| |
* | Merge pull request #68747 from rune-scape/rune-stringname-unificationRémi Verschelde2022-12-091-0/+21
|\ \ | | | | | | | | | GDScript: Unify StringName and String
| * | Unify String and StringNamerune-scape2022-12-051-0/+21
| | |
* | | Fix incomplete shadowing of member properties by parametersDmitrii Maganov2022-12-061-3/+7
|/ /
* / Reset unassigned local variables to null in the loopsYuri Rubinsky2022-11-281-0/+9
|/
* Fix cyclic reference base being loaded but not valid (which is ok)Adam Scott2022-11-271-1/+1
|
* Fix cyclic references in GDScript 2.0Adam Scott2022-11-181-7/+34
|
* GDScript Compiler: regression fixRune2022-11-151-0/+1
|
* GDScript compiler subclass bugfixesRune2022-11-131-180/+136
|
* Fix named enums to use int64 typeYuri Rubinsky2022-11-081-2/+1
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-52/+52
| | | | change warnings=all to use /W4.