summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-09-13Merge pull request #65637 from Jummit/assert-exampleRémi Verschelde
2022-09-12Fix last_modified_time on scriptsYuri Rubinsky
2022-09-11Remove outdated assert exampleJummit
2022-09-06Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOTMicky
For consistency. Every other exposed `one_shot` is spaced out like this.
2022-09-02Merge pull request #65264 from MewPurPur/all-hail-icon-annotationRémi Verschelde
2022-09-02Remove old syntax for custom class iconVolTer
2022-09-02Rename `or_lesser` range property hint to `or_less`Hugo Locurcio
"less" should be used for quantity, rather than "lesser". Existing scripts that use `or_lesser` in `_get_property_list()` will need to be updated to account for this change.
2022-09-01Merge pull request #65135 from reduz/export-customization-pluginsRémi Verschelde
2022-09-01Add support for scene/resource customization in export pluginsJuan Linietsky
EditorExportPlugin adds a set of callbacks to allow customizing scenes, resources or subresources in all files exported: * Can take scene files, resource files and subresources in all of them. * Uses a cache for the converted files if nothing changes, so this work only happens if a file is modified. * Uses hashing to differentiate export configuration caches. * Removed the previous conversion code to binary, as this one uses existing stuff. This API is useful in several scenarios: * Needed by the "server" export platform to get rid of textures, meshes, audio, etc. * Needed by text to binary converters. * Needed by eventual optimizations such as shader precompiling on export, mesh merging and optimization, etc. This is a draft, feedback is very welcome.
2022-09-01Merge pull request #65163 from MewPurPur/reuse-function-logic-for-global-funcsRémi Verschelde
Fix a case in global function highlighting
2022-09-01Merge pull request #64444 from timothyqiu/action-completionRémi Verschelde
Fix action name completion for `Input`
2022-08-31Fixed a case for global function highlightingVolTer
2022-08-31Merge pull request #63411 from Calinou/improve-null-object-dictionary-printRémi Verschelde
Improve null and object printing to avoid confusion with arrays
2022-08-31Merge pull request #64130 from A-Lamia/root_uri_decodeRémi Verschelde
2022-08-31Merge pull request #65065 from Atlinx/fix/65010_enum-doesnt-show-upRémi Verschelde
2022-08-31Improve null and object printing to avoid confusion with arraysHugo Locurcio
- Use different syntax for object printing to avoid confusion with arrays. - Print null as `<null>` to avoid confusion with a string `"null"`. - Display `<empty>` in editor resource pickers to avoid confusion with array-based properties.
2022-08-31fix: add uri_decode to root_uri #63388Lamia
2022-08-30Fix inferred GDScript enum values not appearing in inspectorAtlinx
"enum_values" originally wasn't being forwarded to the new type inside "reduce_identifier_from_base", which caused hint strings derived from the new type to be blank, which ultimately caused an empty enum dropdown menu.
2022-08-30Merge pull request #65066 from aaronfranke/str-path-joinRémi Verschelde
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-29Follow-up fixes to number highlightingVolTer
2022-08-29Merge pull request #65003 from MewPurPur/fix-number-coloringRémi Verschelde
2022-08-29Fix number highlightingVolTer
2022-08-28Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde
Rename `hint_tooltip` to `tooltip_text` & setter getter
2022-08-27Merge pull request #64651 from MewPurPur/fix-globalfunc-highlightingRémi Verschelde
Add new highlighting color for `@GDScript` and `@GlobalScope` functions
2022-08-27Rename `hint_tooltip` to `tooltip_text` & setgetMicky
`hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
2022-08-26Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde
Rename `str2var` to `str_to_var` and similar
2022-08-26Rename `str2var` to `str_to_var` and similarMicky
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
2022-08-26Restore RigidBody2/3D, SoftBody names in physicsfabriceci
2022-08-25Merge pull request #64857 from MewPurPur/tweak-stringname-colorRémi Verschelde
2022-08-25Added highlighting color for GDScript and GlobalScope functionsVolTer
2022-08-25Tweaked StringName highlighting colorVolTer
2022-08-24Replace Array return types with TypedArray 3kobewi
2022-08-22Replace Array return types with TypedArraykobewi
2022-08-20Merge pull request #64170 from YuriSizov/docs-annotations-in-technicolorMax Hilbrunner
Add documentation for all annotations
2022-08-19Merge pull request #64334 from YuriSizov/core-bind-property-revert-methodsYuri Sizov
Make `property_*_revert` methods multilevel and expose them for scripting
2022-08-19Add documentation for all annotationsYuri Sizov
2022-08-19Merge pull request #63326 from MewPurPur/binary-highlighting-fixMax Hilbrunner
Fix highlighting of multiple operators
2022-08-18Make `property_*_revert` methods multilevel and expose them for scriptingYuri Sizov
2022-08-15Fix action name completion for `Input`Haoyu Qiu
2022-08-14Improve binary operator highlightingVolTer
2022-08-10Merge pull request #62934 from Xwdit/script_doc_arg_def_varRémi Verschelde
2022-08-10Merge pull request #63015 from Xwdit/fix_gds_editor_tooltip_arg_typeRémi Verschelde
2022-08-10Fix script documentation method argument default valuesXwdit
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2022-08-10Fixed incorrect type display of function argument in GDScript editor tooltipsXwdit
2022-08-10Fixed incorrect type display of void return in GDScript editor tooltipsXwdit
2022-08-10Prevent global functions from overriding completion of subscriptYuri Rubinsky
2022-08-08Merge pull request #64099 from A-Lamia/lsp_uri_path_fixesRémi Verschelde
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-08-08Merge pull request #64076 from raulsntos/doc-fixesRémi Verschelde
Add `@GDScript.type_exists` documentation, Fix typo in weakref documentation