summaryrefslogtreecommitdiff
path: root/editor/script_create_dialog.cpp
AgeCommit message (Collapse)Author
2020-02-03Fix built-in script creation loading existing scripts by mistakeMichael Alexsander
2020-01-10Make ScriptCreateDialog's script valid message a bit more clearerMichael Alexsander
2020-01-09Add option to disable loading scripts in ScriptCreateDialogMichael Alexsander
2020-01-08Minor fixes for ScriptCreateDialogMichael Alexsander
2020-01-03[Mono]: the C# script icon is now visible in the editor.dankan1890
2020-01-01Merge pull request #34721 from dankan1890/ext_fixRémi Verschelde
ScriptCreateDialog: Suggested language extension now matches the selected language.
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2020-01-01ScriptCreateDialog: Suggested language extension now matches the selected ↵dankan1890
language. Fixes #34711
2019-11-20Fix some overflows and unitialized variablesRafał Mikrut
2019-09-27Cleanup the "Attach Node Script" dialogMichael Alexsander Silva Dias
2019-09-04Add overriden properties to the documentationBojidar Marinov
Fixes #31855
2019-08-22Allow to define and load script templates per projectAndrii Doroshenko (Xrayez)
Previously it was only possible to create custom script templates per editor instance which could lead to certain name collisions, but now one can create such templates per project tailored for specific use cases. The default path to search for custom script templates is defined in project settings via `editor/script_templates_search_path` setting as `res://script_templates` path, yet this can be configured per project. Templates have at most two origins now: 1. Project-specific, defined in `ProjectSettings`, for instance: - res://script_templates/ 2. Editor script templates, for instance: - %APPDATA%/Godot/script_templates/ As script templates can have the same name over different paths, the override mechanism was also added, enabling project-specific templates over the editor ones.
2019-08-12Display language icons in script create dialogAndrii Doroshenko (Xrayez)
2019-07-10Allow dots for class name in popup dialogEv1lbl0w
Signed-off-by: Ev1lbl0w <ricasubtil@gmail.com>
2019-07-04Use CheckBoxes in the editor instead of CheckButtons when applicableHugo Locurcio
CheckButtons should only be used if toggling them has an immediate effect. Otherwise, CheckBoxes should be used.
2019-06-29ScriptCreateDialog should emit the script_changed signal firstLikeLakers2
2019-06-11Fix script create dialogJames Buck
- Correctly validate parent/class names - Trigger parent validation when selecting from buttons - Fix enabling/disabling parent buttons - Clear class name if not supported - Minor cleanup
2019-05-02Hide "Built-in Script" option in the script creation dialog when not possibleMichael Alexsander Silva Dias
2019-05-02Make small changes to the script dialogMichael Alexsander Silva Dias
2019-05-02Fix script dialog asking for correct inheritance when not neededMichael Alexsander Silva Dias
2019-04-30Fix script dialog path validation to handle spaces correctlyDrNochi
2019-04-30Merge pull request #25708 from SeleckyErik/issue-25611-script_dialog_cursorRémi Verschelde
Moves cursor to and selects "new_script" in Create Script dialog
2019-04-30Merge pull request #26022 from lupoDharkael/create-scriptRémi Verschelde
Add class tree selection to script inheritance selection
2019-04-21Improve wording of various messages and make casing more consistentHugo Locurcio
This also adds the number of selected projects to the confirmation dialog that appears before removing projects.
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-18Add class tree selection to script inheritance selectionlupoDharkael
2019-02-08Moves cursor to and selects "new_script" in Create Script dialogErik
When Create Script dialog pops up, the cursor in the Path LineEdit is moved to the "new_script" name placeholder and it is selected.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-16Create built-in script properlyvolzhs
2018-09-23Prevent built-in-scripts from being made from FileSystem dockDualMatrix
Prevent built-in-scripts from being made from FileSystem dock
2018-09-15Remove unnecessary "OK"s text settingsMichael Alexsander Silva Dias
2018-09-12Fix default script name in ScriptCreateDialogRémi Verschelde
It would default either to '.gd' when created from the script editor, or to 'res:///NodeName.gd' (three '/') when created from the scene tree dock.
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-08Fix ScriptCreateDialog passing script w/ no filenamewillnationsdev
2018-07-04Expose ScriptCreateDialog to EditorPluginwillnationsdev
2018-03-15Merge pull request #17388 from Hinsbart/mono_class_nameRémi Verschelde
Mono: Avoid invalid class names.
2018-03-15Mono: Avoid invalid class names.Andreas Haas
Disallow reserved keywords as class names and prefix base class with the Godot namespace if it's the same as the class name. Fixes #12483
2018-02-25Update icons when theme changedPoommetee Ketson
2018-02-21Godot now allows built-in irrespective of the filepath.Anish
Since the file in the filepath is irrelevant when setting the file as built-in, changes have been made to allow setting to built-in even if the file in the path exists. Fixes #16425
2018-02-14Merge pull request #15544 from YeldhamDev/script_dialog_label_fixRémi Verschelde
Fixed "Attach Script" dialog's file dialog labeling
2018-01-10Some small fixes for the "Attach Script" dialog.Michael Alexsander Silva Dias
2018-01-10Fixed "Attach Script" dialog's file dialog labeling.Michael Alexsander Silva Dias
2018-01-09Revert "Fix "Attach Node Script" inherits popup type"Rémi Verschelde
This reverts commit 227238b4246d335910c364188ce9233fc70ddc65. This dialog is used to both open and create scripts, so it needs to have the features of the save dialog.
2018-01-08Fix "Attach Node Script" inherits popup typeJerome67000
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-04Fix crash in OS::execute on FreeBSDRémi Verschelde
As spotted by @robfram, closes #15288. Also reviewed other uses of `if (String.find(.*))` for potential similar mistakes, found a wrong (and useless) one in ScriptEditorDialog.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-16Merge pull request #14551 from volzhs/ok-alert-confirmRémi Verschelde
Pressing Enter key creates or loads script on Attach script window
2017-12-16Merge pull request #14645 from volzhs/focus-after-selectRémi Verschelde
Focus path field after seleting file browser on Attach script window
2017-12-15ScriptCreateDialog: Fix loading scripts with named classes.Andreas Haas
We only need to validate the class name when creating a new script, existing scripts already have one. Fixes #14643 Supersedes/Closes #14684