summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_parser.cpp
AgeCommit message (Collapse)Author
2023-01-13Merge pull request #70540 from vaartis/multiline-arrays-dictionariesRémi Verschelde
Implement export_multiline support for Array[String] and Dictionary
2023-01-12Merge pull request #70713 from vonagam/fix-unnamed-enum-outer-conflictsGeorge Marques
2023-01-09Merge pull request #69590 from anvilfolk/enumsRémi Verschelde
GDScript enum fixes & refactor
2023-01-09Assorted enum and native type fixesocean (they/them)
2023-01-09Merge pull request #70655 from vonagam/fix-assert-multilineRémi Verschelde
GDScript: Fix multiline and trailing comma for assert
2023-01-08GDScript: Fix multiline and trailing comma for assertDmitrii Maganov
2023-01-06Unify typing of variables, constants and parameters in GDScriptDmitrii Maganov
2023-01-05One Copyright Update to rule them allRémi Verschelde
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".
2022-12-29GDScript: Fix false name conflicts for unnamed enumsDmitrii Maganov
2022-12-25Implement export_multiline support for Array[String] and DictionaryEkaterina Vaartis
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.
2022-12-14GDScript: Allow out of order member resolutionrune-scape
2022-12-01Merge pull request #69303 from Chaosus/gds_fix_loopsRémi Verschelde
Reset unassigned local variables to null in the loops
2022-11-30Merge pull request #69269 from red1939/red1939/masterRémi Verschelde
Acknowledge that a CLASS kind of a DataType might not have an identifier
2022-11-30Acknowledge that a CLASS kind of a DataType might not have an identifierBartosz Bielecki
2022-11-28Reset unassigned local variables to null in the loopsYuri Rubinsky
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