summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #55715 from nathanfranke/enum-orderedRémi Verschelde2022-01-101-4/+4
|\ \ \ \
| * | | | Use OrderedHashMap for enum_valuesNathan Franke2021-12-161-4/+4
| | | | |
* | | | | Merge pull request #56342 from NNesh/fix/class-completionRémi Verschelde2022-01-101-0/+2
|\ \ \ \ \
| * | | | | Fixed completion showing for class membersNNesh2022-01-081-0/+2
| |/ / / /
* | | | | Merge pull request #56483 from vnen/gdscript-warning-annotationRémi Verschelde2022-01-051-9/+53
|\ \ \ \ \ | | | | | | | | | | | | Add annotation to ignore warnings
| * | | | | GDScript: Add annotation to ignore warningsGeorge Marques2022-01-041-9/+53
| |/ / / /
* / / / / Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
|/ / / / | | | | | | | | | | | | Happy new year to the wonderful Godot community!
* | | | Fix shadowed global identifier warning duplicationYuri Roubinsky2021-12-131-34/+3
| | | |
* | | | Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-2/+2
|/ / / | | | | | | | | | | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* | / Fix typo in `gdscript_parser`Raul Santos2021-12-031-4/+4
| |/ |/|
* | Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-2/+2
| |
* | Allow using built-in names for variables, push warnings insteadYuri Roubinsky2021-11-131-27/+24
|/
* Merge pull request #54676 from Chaosus/gds_restrict_namesRémi Verschelde2021-11-101-8/+76
|\
| * Prevent identifiers from naming as built-in funcs and global classesYuri Roubinsky2021-11-081-8/+76
| |
* | Allow using $/root node pathsMaximilian2021-11-091-0/+17
|/ | | | | | | | | | format fix shadowing use match instead of comparison Update gdscript_parser.cpp
* Merge pull request #54350 from akien-mga/clang-format-dont-align-operandsRémi Verschelde2021-10-281-3/+3
|\
| * clang-format: Various fixes to comments alignment from `clang-format` 13Rémi Verschelde2021-10-281-3/+3
| | | | | | | | All reviewed manually and occasionally rewritten to avoid bad auto formatting.
* | Merge pull request #53526 from KoBeWi/super_printRémi Verschelde2021-10-281-1/+1
|\ \ | |/ |/|
| * Change print_line() to use any number of Variantskobewi2021-10-071-1/+1
| |
* | GDScript: Avoid crash if missing setter signatureGeorge Marques2021-10-151-6/+8
| |
* | Merge pull request #53103 from ZuBsPaCe/gdscript-analyze-properties-fixGeorge Marques2021-10-111-7/+42
|\ \ | | | | | | GDScript: Report property type errors
| * | GDScript: Report property type errorsZuBsPaCe2021-10-081-7/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | Inline getters & setters are now FunctionNodes. Their names are set in the parser, not in the compiler. GDScript-Analyzer will now run through getter and setter. Also report wrong type or signature errors regarding getset properties. Added GDScript tests for getters and setters. #53102
* | | Remove redundant String operation from GDScript enum exportsYuri Sizov2021-10-111-1/+1
|/ /
* / [Net] Rename RPCConfig.sync to call_local.Fabio Alessandrelli2021-10-081-2/+2
|/ | | | For consistency with the other user facing changes.
* Fix outdated no_call_local, use call_remoteMax Hilbrunner2021-10-061-1/+1
|
* GDScript Check for null list in `for` loopBrian Semrau2021-10-021-0/+4
|
* [Net] Rename RPC constants and annotation arguments.Fabio Alessandrelli2021-10-011-8/+8
| | | | | | | | | any -> any_peer sync -> call_local ordered -> unreliable_ordered Multiplayer.RPC_MODE_ANY -> RPC_MODE_ANY_PEER Multiplayer.TRANSFER_MODE_ORDERED -> TRANSFER_MODE_UNRELIABLE_ORDERED
* Use range iterators for `Map`Lightning_A2021-09-301-3/+3
|
* Merge pull request #52906 from vnen/gdscript-show-error-on-yieldRémi Verschelde2021-09-211-1/+6
|\
| * GDScript: Show specific error when "yield" is usedGeorge Marques2021-09-211-1/+6
| | | | | | | | | | To help people porting code, it gives a hint to use "await" instead of a generic error.
* | Merge pull request #52905 from vnen/gdscript-single-line-declarationRémi Verschelde2021-09-211-7/+16
|\ \
| * | GDScript: Allow classes declaration to be done in single lineGeorge Marques2021-09-211-7/+16
| |/ | | | | | | | | Incidentally, allow multiple statements in single line functions when using semicolon as a terminator.
* / GDScript: Allow multiple lines in signal parameters declarationGeorge Marques2021-09-211-1/+4
|/
* GDScript: Properly catch error when missing index in subscriptGeorge Marques2021-09-171-0/+4
|
* Merge pull request #51671 from RandomShaper/fix_gdscript_crashGeorge Marques2021-09-171-0/+33
|\ | | | | Fix some GDScript bugs
| * Implement iterator variable typing in GDScriptPedro J. Estébanez2021-09-111-0/+33
| |
* | Merge pull request #52706 from vnen/gdscript-ternary-operator-crashRémi Verschelde2021-09-151-0/+4
|\ \ | | | | | | GDScript: Show error when missing expression after ternary else
| * | GDScript: Show error when missing expression after ternary elseGeorge Marques2021-09-151-0/+4
| | |
* | | GDScript: Show error on unary operators without argumentGeorge Marques2021-09-151-0/+12
|/ /
* | GDScript: Allow string keys on Lua-style dictionariesGeorge Marques2021-09-151-3/+12
| | | | | | | | | | Which is useful when the key isn't a valid identifier, such as keys with spaces or numeric keys.
* | Merge pull request #52068 from ThreeRhinosInAnElephantCostume/fixgdscriptRémi Verschelde2021-09-131-3/+20
|\ \ | | | | | | Fix parse error on statement-less files with only newlines, add a warning for empty files.
| * | Fix error on parsing statement-less GDScript files,ThreeRhinosInAnElephantCostume2021-09-111-3/+20
| | | | | | | | | | | | | | | add an empty file warning, add relevant tests.
* | | GDScript: Removed spurious UNASSIGNED_VARIABLE warning for localsZuBsPaCe2021-09-101-2/+6
| | | | | | | | | | | | | | | | | | Variable->assignment needs to be incremented when assigned a value. Also fixed and improved unit test 'variable_declaration.gd'. Fixes #52551
* | | Merge pull request #52063 from KoBeWi/double_comma_of_doomGeorge Marques2021-09-101-2/+4
|\ \ \ | | | | | | | | Fix crash with consecutive commas in Dictionary
| * | | Fix crash with consecutive commas in Dictionarykobewi2021-09-101-2/+4
| | | |
* | | | Merge pull request #51593 from KoBeWi/ifGeorge Marques2021-09-101-1/+3
|\ \ \ \ | |/ / / |/| | | Prevent crash when awaiting in a getter/setter
| * | | Prevent crash when awaiting in a getter/setterkobewi2021-08-131-1/+3
| | | |
* | | | Merge pull request #52081 from ThreeRhinosInAnElephantCostume/fixmatchfreezeGeorge Marques2021-09-101-43/+42
|\ \ \ \ | | | | | | | | | | Fix gdscript pattern matching expressions
| * | | | Added tests for expression matchingThreeRhinosInAnElephantCostume2021-09-031-1/+2
| | | | |
| * | | | Fixed pattern matching with expressionsThreeRhinosInAnElephantCostume2021-08-251-43/+41
| | |/ / | |/| |