summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_parser.cpp
AgeCommit message (Collapse)Author
2022-11-27GDScript: Avoid using `get_global_class_native_base`rune-scape
2022-11-24GDScript: Properly respect `int` type hint for `@export_range`unknown
Fixes #69104. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-11-24GDScript: Only check if ignoring warnings in debug buildRémi Verschelde
2022-11-20GDScript: Fix setting to disable all warningsRémi Verschelde
The boolean was never set with the value from the project settings. Fixes #64559.
2022-11-18Merge pull request #68854 from anvilfolk/highlight-varRémi Verschelde
Add error highlighting for duplicate variables/constants
2022-11-18Fix cyclic references in GDScript 2.0Adam Scott
2022-11-18Add error highlighting for duplicate variables/constantsocean (they/them)
2022-11-15Merge pull request #65372 from Mickeon/fix-treat-warnings-as-errorsRémi Verschelde
Fix "Treat Warnings as Errors" Project Setting doing nothing
2022-11-13GDScript compiler subclass bugfixesRune
2022-11-08Fix named enums to use int64 typeYuri Rubinsky
2022-10-14Added custom node exportGuilherme Sousa
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-02Fix completion of parameters in function call (2)Yuri Rubinsky
2022-09-30Fix completion of parameters in function callYuri Rubinsky
2022-09-23Prevent null crash when datatype not resolvedFrancois Belair
2022-09-17Add GDScript resource export.willnationsdev
2022-09-05Fix "Treat Warnings as Errors" Project Setting not workingMicky
2022-09-02Remove old syntax for custom class iconVolTer
2022-08-19Add documentation for all annotationsYuri Sizov
2022-07-26[Net] Modularize multiplayer, expose MultiplayerAPI to extensions.Fabio Alessandrelli
- RPC configurations are now dictionaries. - Script.get_rpc_methods renamed to Script.get_rpc_config. - Node.rpc[_id] and Callable.rpc now return an Error. - Refactor MultiplayerAPI to allow extension. - New MultiplayerAPI.rpc method with Array argument (for scripts). - Move the default MultiplayerAPI implementation to a module.
2022-07-26Fix Vector4 parse errorkobewi
2022-07-23Implement Vector4, Vector4i, Projectionreduz
Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-18GDScript: Fix brief/long description doc comments.Vladimir Savin
2022-07-13Merge pull request #62901 from ↵George Marques
cdemirer/prevent-unnecessary-additional-parser-error
2022-07-13Merge pull request #62900 from cdemirer/fix-parser-stuck-in-an-error-loopGeorge Marques
2022-07-13Merge pull request #62918 from cdemirer/parser-properly-set-node-extentsGeorge Marques
2022-07-13Merge pull request #62922 from YuriSizov/gdscript-annotation-defaultsGeorge Marques
2022-07-13Merge pull request #62578 from MinusKube/editor-print-crashGeorge Marques
Fix GDScript parser sometimes crashing when issuing warning for unreachable pattern
2022-07-11Add default argument bindings to GDScript annotationsYuri Sizov
2022-07-11Parser: Properly set node extentscdemirer
2022-07-11Prevent unnecessary additional parser errorcdemirer
2022-07-11Fix parser stuck in an error loopcdemirer
2022-07-06Merge pull request #62701 from cdemirer/for-variable-conflictRémi Verschelde
2022-07-06Merge pull request #62713 from YuriSizov/docs-scripting-annotationsRémi Verschelde
2022-07-05Add grouping annotations for class properties in GDScriptYuri Sizov
2022-07-04Add support for documenting built-in annotationsYuri Sizov
2022-07-04Do error when for variable conflicts with a variable in scopecdemirer
2022-07-01Fix GDScript parser sometimes crashing when issuing warning for unreachable ↵MinusKube
pattern
2022-06-27GDScript: Enable exporting nodes to the inspectorGeorge Marques
Also fix an small issue in the property editor for NodePath trying to use the meta property when not needed.
2022-06-23Implement varargs in Methodinforeduz
Variadic templates are an awful thing. Implements #62233 using them in MethodInfo so less changes are required.
2022-06-19Allow autocompletion of "noslider" in export_rangeMarcus Elg
2022-05-31Merge pull request #61440 from vnen/gdscript-scene-unique-nodesRémi Verschelde
GDScript: Support `%` in shorthand for `get_node`
2022-05-27GDScript: Support `%` in shorthand for `get_node`George Marques
The `%` is used in scene unique nodes. Now `%` can also be used instead of `$` for the shorthand, besides being allowed generally anywhere in the path as the prefix for a node name.
2022-05-26Merge pull request #59943 from jordigcs/gdscript_warning_enumsRémi Verschelde
Add enum values (Ignore, Warn, Error) to GDScript warnings
2022-05-25Use blank line instead of `@desc:` for doc commentsDanil Alexeev
2022-05-23GDScript: Fix lambda captures in default argument valuesGeorge Marques
2022-05-23GDScript: Fix `if` after lambda being seen as ternaryGeorge Marques
2022-05-23GDScript: Do not allow standalone lambdasGeorge Marques
They cannot be accessed in this case, so an error is shown to avoid misleading the uses, especially in case of named lambdas.
2022-05-18Merge pull request #55201 from Scony/fix-unreachable-code-false-positiveRémi Verschelde
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!