summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
|
* Add documentation for all annotationsYuri Sizov2022-08-191-1/+1
|
* [Net] Modularize multiplayer, expose MultiplayerAPI to extensions.Fabio Alessandrelli2022-07-261-27/+21
| | | | | | | | | - 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.
* Fix Vector4 parse errorkobewi2022-07-261-2/+2
|
* Implement Vector4, Vector4i, Projectionreduz2022-07-231-0/+3
| | | | | | | | | | | | | 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.
* GDScript: Fix brief/long description doc comments.Vladimir Savin2022-07-181-1/+10
|
* Merge pull request #62901 from ↵George Marques2022-07-131-1/+2
|\ | | | | | | cdemirer/prevent-unnecessary-additional-parser-error
| * Prevent unnecessary additional parser errorcdemirer2022-07-111-1/+2
| |
* | Merge pull request #62900 from cdemirer/fix-parser-stuck-in-an-error-loopGeorge Marques2022-07-131-0/+1
|\ \
| * | Fix parser stuck in an error loopcdemirer2022-07-111-0/+1
| |/
* | Merge pull request #62918 from cdemirer/parser-properly-set-node-extentsGeorge Marques2022-07-131-31/+178
|\ \
| * | Parser: Properly set node extentscdemirer2022-07-111-31/+178
| |/
* | Merge pull request #62922 from YuriSizov/gdscript-annotation-defaultsGeorge Marques2022-07-131-13/+13
|\ \
| * | Add default argument bindings to GDScript annotationsYuri Sizov2022-07-111-13/+13
| |/
* | Merge pull request #62578 from MinusKube/editor-print-crashGeorge Marques2022-07-131-1/+1
|\ \ | |/ |/| Fix GDScript parser sometimes crashing when issuing warning for unreachable pattern
| * Fix GDScript parser sometimes crashing when issuing warning for unreachable ↵MinusKube2022-07-011-1/+1
| | | | | | | | pattern
* | Merge pull request #62701 from cdemirer/for-variable-conflictRémi Verschelde2022-07-061-0/+4
|\ \
| * | Do error when for variable conflicts with a variable in scopecdemirer2022-07-041-0/+4
| |/
* | Merge pull request #62713 from YuriSizov/docs-scripting-annotationsRémi Verschelde2022-07-061-0/+4
|\ \
| * | Add support for documenting built-in annotationsYuri Sizov2022-07-041-0/+4
| |/
* / Add grouping annotations for class properties in GDScriptYuri Sizov2022-07-051-12/+69
|/
* GDScript: Enable exporting nodes to the inspectorGeorge Marques2022-06-271-1/+5
| | | | | Also fix an small issue in the property editor for NodePath trying to use the meta property when not needed.
* Implement varargs in Methodinforeduz2022-06-231-10/+10
| | | | Variadic templates are an awful thing. Implements #62233 using them in MethodInfo so less changes are required.
* Allow autocompletion of "noslider" in export_rangeMarcus Elg2022-06-191-1/+1
|
* Merge pull request #61440 from vnen/gdscript-scene-unique-nodesRémi Verschelde2022-05-311-49/+88
|\ | | | | GDScript: Support `%` in shorthand for `get_node`
| * GDScript: Support `%` in shorthand for `get_node`George Marques2022-05-271-49/+88
| | | | | | | | | | | | 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.
* | Merge pull request #59943 from jordigcs/gdscript_warning_enumsRémi Verschelde2022-05-261-1/+7
|\ \ | | | | | | Add enum values (Ignore, Warn, Error) to GDScript warnings