Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | GDScript: Consolidate behavior for assigning enum types | George Marques | 2022-02-03 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes sure that assigning values to enum-typed variables are consistent. Same enum is always valid, different enum is always invalid (without casting) and assigning `int` creates a warning if there is no casting. There are new test cases to ensure this behavior doesn't break in the future. | |||||
* | | | Merge pull request #55433 from V-Sekai/prev_operand_nullptr_check | Rémi Verschelde | 2022-01-22 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Check for nullptr expression in parse_precedence function | |||||
| * | | | Check for nullptr expression in parse_precedence function | SaracenOne | 2021-11-29 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge pull request #55214 from Scony/fix-gdscript-crash-2 | Rémi Verschelde | 2022-01-22 | 1 | -0/+3 | |
|\ \ \ \ | |_|/ / |/| | | | Fix GDScript parser crash on 'dollar mixed with assignment' expression | |||||
| * | | | Fix GDScript parser crash on 'dollar mixed with assignment' expression | Pawel Lampe | 2021-11-21 | 1 | -0/+3 | |
| | |/ | |/| | | | | | | | fixes #53696 | |||||
* | | | Merge pull request #55625 from ↵ | Rémi Verschelde | 2022-01-17 | 1 | -1/+5 | |
|\ \ \ | | | | | | | | | | | | | | | | | cdemirer/fix-type-guessing-and-gdscript-parser-printing Fix `--test gdscript-parser` crash | |||||
| * | | | Fix gdscript-parser crash | cdemirer | 2022-01-03 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | Fixes gdscript-parser crashing while printing empty identifiers. | |||||
* | | | | Fix various typos | luz paz | 2022-01-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew` | |||||
* | | | | Merge pull request #55715 from nathanfranke/enum-ordered | Rémi Verschelde | 2022-01-10 | 1 | -4/+4 | |
|\ \ \ \ | ||||||
| * | | | | Use OrderedHashMap for enum_values | Nathan Franke | 2021-12-16 | 1 | -4/+4 | |
| | | | | | ||||||
* | | | | | Merge pull request #56342 from NNesh/fix/class-completion | Rémi Verschelde | 2022-01-10 | 1 | -0/+2 | |
|\ \ \ \ \ | ||||||
| * | | | | | Fixed completion showing for class members | NNesh | 2022-01-08 | 1 | -0/+2 | |
| |/ / / / | ||||||
* | | | | | Merge pull request #56483 from vnen/gdscript-warning-annotation | Rémi Verschelde | 2022-01-05 | 1 | -9/+53 | |
|\ \ \ \ \ | | | | | | | | | | | | | Add annotation to ignore warnings | |||||
| * | | | | | GDScript: Add annotation to ignore warnings | George Marques | 2022-01-04 | 1 | -9/+53 | |
| |/ / / / | ||||||
* / / / / | Update copyright statements to 2022 | Rémi Verschelde | 2022-01-03 | 1 | -2/+2 | |
|/ / / / | | | | | | | | | | | | | Happy new year to the wonderful Godot community! | |||||
* | | | | Fix shadowed global identifier warning duplication | Yuri Roubinsky | 2021-12-13 | 1 | -34/+3 | |
| | | | | ||||||
* | | | | Replace String comparisons with "", String() to is_empty() | Nathan Franke | 2021-12-09 | 1 | -2/+2 | |
|/ / / | | | | | | | | | | | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | |||||
* | / | Fix typo in `gdscript_parser` | Raul Santos | 2021-12-03 | 1 | -4/+4 | |
| |/ |/| | ||||||
* | | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | 2021-11-23 | 1 | -2/+2 | |
| | | ||||||
* | | Allow using built-in names for variables, push warnings instead | Yuri Roubinsky | 2021-11-13 | 1 | -27/+24 | |
|/ | ||||||
* | Merge pull request #54676 from Chaosus/gds_restrict_names | Rémi Verschelde | 2021-11-10 | 1 | -8/+76 | |
|\ | ||||||
| * | Prevent identifiers from naming as built-in funcs and global classes | Yuri Roubinsky | 2021-11-08 | 1 | -8/+76 | |
| | | ||||||
* | | Allow using $/root node paths | Maximilian | 2021-11-09 | 1 | -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-operands | Rémi Verschelde | 2021-10-28 | 1 | -3/+3 | |
|\ | ||||||
| * | clang-format: Various fixes to comments alignment from `clang-format` 13 | Rémi Verschelde | 2021-10-28 | 1 | -3/+3 | |
| | | | | | | | | All reviewed manually and occasionally rewritten to avoid bad auto formatting. | |||||
* | | Merge pull request #53526 from KoBeWi/super_print | Rémi Verschelde | 2021-10-28 | 1 | -1/+1 | |
|\ \ | |/ |/| | ||||||
| * | Change print_line() to use any number of Variants | kobewi | 2021-10-07 | 1 | -1/+1 | |
| | | ||||||
* | | GDScript: Avoid crash if missing setter signature | George Marques | 2021-10-15 | 1 | -6/+8 | |
| | | ||||||
* | | Merge pull request #53103 from ZuBsPaCe/gdscript-analyze-properties-fix | George Marques | 2021-10-11 | 1 | -7/+42 | |
|\ \ | | | | | | | GDScript: Report property type errors | |||||
| * | | GDScript: Report property type errors | ZuBsPaCe | 2021-10-08 | 1 | -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 exports | Yuri Sizov | 2021-10-11 | 1 | -1/+1 | |
|/ / | ||||||
* / | [Net] Rename RPCConfig.sync to call_local. | Fabio Alessandrelli | 2021-10-08 | 1 | -2/+2 | |
|/ | | | | For consistency with the other user facing changes. | |||||
* | Fix outdated no_call_local, use call_remote | Max Hilbrunner | 2021-10-06 | 1 | -1/+1 | |
| | ||||||
* | GDScript Check for null list in `for` loop | Brian Semrau | 2021-10-02 | 1 | -0/+4 | |
| | ||||||
* | [Net] Rename RPC constants and annotation arguments. | Fabio Alessandrelli | 2021-10-01 | 1 | -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_A | 2021-09-30 | 1 | -3/+3 | |
| | ||||||
* | Merge pull request #52906 from vnen/gdscript-show-error-on-yield | Rémi Verschelde | 2021-09-21 | 1 | -1/+6 | |
|\ | ||||||
| * | GDScript: Show specific error when "yield" is used | George Marques | 2021-09-21 | 1 | -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-declaration | Rémi Verschelde | 2021-09-21 | 1 | -7/+16 | |
|\ \ | ||||||
| * | | GDScript: Allow classes declaration to be done in single line | George Marques | 2021-09-21 | 1 | -7/+16 | |
| |/ | | | | | | | | | Incidentally, allow multiple statements in single line functions when using semicolon as a terminator. | |||||
* / | GDScript: Allow multiple lines in signal parameters declaration | George Marques | 2021-09-21 | 1 | -1/+4 | |
|/ | ||||||
* | GDScript: Properly catch error when missing index in subscript | George Marques | 2021-09-17 | 1 | -0/+4 | |
| | ||||||
* | Merge pull request #51671 from RandomShaper/fix_gdscript_crash | George Marques | 2021-09-17 | 1 | -0/+33 | |
|\ | | | | | Fix some GDScript bugs | |||||
| * | Implement iterator variable typing in GDScript | Pedro J. Estébanez | 2021-09-11 | 1 | -0/+33 | |
| | | ||||||
* | | Merge pull request #52706 from vnen/gdscript-ternary-operator-crash | Rémi Verschelde | 2021-09-15 | 1 | -0/+4 | |
|\ \ | | | | | | | GDScript: Show error when missing expression after ternary else | |||||
| * | | GDScript: Show error when missing expression after ternary else | George Marques | 2021-09-15 | 1 | -0/+4 | |
| | | | ||||||
* | | | GDScript: Show error on unary operators without argument | George Marques | 2021-09-15 | 1 | -0/+12 | |
|/ / | ||||||
* | | GDScript: Allow string keys on Lua-style dictionaries | George Marques | 2021-09-15 | 1 | -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/fixgdscript | Rémi Verschelde | 2021-09-13 | 1 | -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, | ThreeRhinosInAnElephantCostume | 2021-09-11 | 1 | -3/+20 | |
| | | | | | | | | | | | | | | | add an empty file warning, add relevant tests. |