summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | GDScript: Fix `@icon` annotationDanil Alexeev2023-01-311-4/+30
| |
* | GDScript: Fix issues with typed arraysDmitrii Maganov2023-01-311-43/+5
| |
* | GDScript: Fix match branches return check on releaseGeorge Marques2023-01-301-5/+1
| | | | | | | | | | | | The check for existence of `return` only existed on debug builds for match branches. This could lead on an invalid error after exporting. Now this is checked on relase too, so it works the same as the editor.
* | Merge pull request #72305 from dalexeev/gfs-fix-export-enumRémi Verschelde2023-01-301-1/+23
|\ \ | | | | | | | | | GDScript: Fix `@export_enum` works only with `int`
| * | GDScript: Fix `@export_enum` works only with `int`Danil Alexeev2023-01-301-1/+23
| | |
* | | Merge pull request #72175 from dalexeev/gds-fix-export-group-annotationsRémi Verschelde2023-01-301-3/+7
|\ \ \ | |/ / |/| | | | | GDScript: Fix broken export group annotations
| * | GDScript: Fix broken export group annotationsDanil Alexeev2023-01-271-3/+7
| |/
* / GDScript: Allow variables in match patternsGeorge Marques2023-01-281-11/+3
|/ | | | To restore an ability available in 3.x and reduce compatibility changes.
* GDScript: Allow constant expressions in annotationsDanil Alexeev2023-01-251-62/+4
|
* Merge pull request #71120 from jordigcs/ternaryGeorge Marques2023-01-251-0/+1
|\ | | | | Closes https://github.com/godotengine/godot/issues/71065
| * Allow standalone ternary expressionsjordi2023-01-191-0/+1
| |
* | Clarify error message about script-level annotationDanil Alexeev2023-01-241-1/+5
| |
* | Merge pull request #71914 from vnen/gdscript-no-continue-matchRémi Verschelde2023-01-231-19/+1
|\ \ | | | | | | | | | GDScript: Remove function of `continue` for match statement
| * | GDScript: Remove function of `continue` for match statementGeorge Marques2023-01-221-19/+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.
* | | Add support for Unicode identifiers in GDScriptGeorge Marques2023-01-211-19/+9
|/ / | | | | | | | | | | This is using an adapted version of UAX#31 to not rely on the ICU database (which isn't available in builds without TextServerAdvanced). It allows most characters used in diverse scripts but not everything.
* | Merge pull request #67774 from aaronfranke/script-annotationsRémi Verschelde2023-01-161-43/+11
|\ \ | | | | | | Make script annotations be placed before `class_name` and `extends`
| * | Make script annotations placed before class_name and extendsAaron Franke2022-12-191-43/+11
| | |
* | | Merge pull request #70540 from vaartis/multiline-arrays-dictionariesRémi Verschelde2023-01-131-0/+20
|\ \ \ | | | | | | | | | | | | Implement export_multiline support for Array[String] and Dictionary
| * | | Implement export_multiline support for Array[String] and DictionaryEkaterina Vaartis2022-12-251-0/+20
| |/ / | | | | | | | | | | | | | | | | | | | | | For arrays, specifically check if it's a string array and pass the type on to the editor. For dictionaries, save the hint on the type and use it later to draw the multiline editor, except for when adding a string key, because that doesn't make much sense. All string values however will be drawn as multiline.
* | | Merge pull request #70713 from vonagam/fix-unnamed-enum-outer-conflictsGeorge Marques2023-01-121-8/+2
|\ \ \
| * | | GDScript: Fix false name conflicts for unnamed enumsDmitrii Maganov2022-12-291-8/+2
| |/ /
* | | Merge pull request #69590 from anvilfolk/enumsRémi Verschelde2023-01-091-9/+14
|\ \ \ | | | | | | | | | | | | GDScript enum fixes & refactor
| * | | Assorted enum and native type fixesocean (they/them)2023-01-091-9/+14
| | |/ | |/|
* | | Merge pull request #70655 from vonagam/fix-assert-multilineRémi Verschelde2023-01-091-2/+7
|\ \ \ | |/ / |/| | | | | GDScript: Fix multiline and trailing comma for assert
| * | GDScript: Fix multiline and trailing comma for assertDmitrii Maganov2023-01-081-2/+7
| |/
* | Unify typing of variables, constants and parameters in GDScriptDmitrii Maganov2023-01-061-5/+5
| |
* | 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".
* GDScript: Allow out of order member resolutionrune-scape2022-12-141-2/+50
|
* Merge pull request #69303 from Chaosus/gds_fix_loopsRémi Verschelde2022-12-011-1/+2
|\ | | | | Reset unassigned local variables to null in the loops
| * Reset unassigned local variables to null in the loopsYuri Rubinsky2022-11-281-1/+2
| |
* | Merge pull request #69269 from red1939/red1939/masterRémi Verschelde2022-11-301-3/+2
|\ \ | |/ |/| | | Acknowledge that a CLASS kind of a DataType might not have an identifier
| * Acknowledge that a CLASS kind of a DataType might not have an identifierBartosz Bielecki2022-11-301-3/+2
| |
* | GDScript: Avoid using `get_global_class_native_base`rune-scape2022-11-271-2/+5
|/
* GDScript: Properly respect `int` type hint for `@export_range`unknown2022-11-241-0/+6
| | | | | | Fixes #69104. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* GDScript: Only check if ignoring warnings in debug buildRémi Verschelde2022-11-241-0/+2
|
* GDScript: Fix setting to disable all warningsRémi Verschelde2022-11-201-0/+2
| | | | | | The boolean was never set with the value from the project settings. Fixes #64559.
* Merge pull request #68854 from anvilfolk/highlight-varRémi Verschelde2022-11-181-2/+2
|\ | | | | | | Add error highlighting for duplicate variables/constants
| * Add error highlighting for duplicate variables/constantsocean (they/them)2022-11-181-2/+2
| |
* | Fix cyclic references in GDScript 2.0Adam Scott2022-11-181-1/+7
|/
* Merge pull request #65372 from Mickeon/fix-treat-warnings-as-errorsRémi Verschelde2022-11-151-1/+1
|\ | | | | | | Fix "Treat Warnings as Errors" Project Setting doing nothing
| * Fix "Treat Warnings as Errors" Project Setting not workingMicky2022-09-051-1/+1
| |
* | GDScript compiler subclass bugfixesRune2022-11-131-0/+5
| |
* | Fix named enums to use int64 typeYuri Rubinsky2022-11-081-1/+1
| |
* | Added custom node exportGuilherme Sousa2022-10-141-5/+11
| |
* | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-14/+8
| | | | | | | | change warnings=all to use /W4.
* | Fix completion of parameters in function call (2)Yuri Rubinsky2022-10-021-1/+2
| |
* | Fix completion of parameters in function callYuri Rubinsky2022-09-301-0/+4
| |
* | Prevent null crash when datatype not resolvedFrancois Belair2022-09-231-1/+1
| |
* | Add GDScript resource export.willnationsdev2022-09-171-0/+27
|/
* Remove old syntax for custom class iconVolTer2022-09-021-11/+0
|