summaryrefslogtreecommitdiff
path: root/editor/script_create_dialog.h
AgeCommit message (Collapse)Author
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-01Revert "Fix "Script Create" dialog errors with metadata"kobewi
This reverts commit bb5198a5ac92a6fe699751df9bb9c09109a2955a.
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-03-27Fix "Script Create" dialog errors with metadataMichael Alexsander
2022-03-12Initialize bools in the headers in editorAaron Franke
2022-02-20Fix errors when updating script template listHaoyu Qiu
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-02Improve editor template workflowfabriceci
Co-Authored-By: jmb462 <jmb462@gmail.com>
2021-11-04Allow to name built-in scripts upon creationkobewi
2021-07-04Minor cleanup of the "New Script" dialogMichael Alexsander
2021-06-16Documentation search fixesGregory Basile
Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
2021-04-06Warn when creating a script with the same name as the parent classAaron Franke
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-02Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut
2020-07-10Add override keywords.Marcel Admiraal
2020-04-04Warn about built-in script limitations in the script creation dialogHugo Locurcio
This partially addresses #31758.
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-01-09Add option to disable loading scripts in ScriptCreateDialogMichael Alexsander
2020-01-08Minor fixes for ScriptCreateDialogMichael Alexsander
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.
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-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-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-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-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-09-23Prevent built-in-scripts from being made from FileSystem dockDualMatrix
Prevent built-in-scripts from being made from FileSystem dock
2018-02-25Update icons when theme changedPoommetee Ketson
2018-01-10Fixed "Attach Script" dialog's file dialog labeling.Michael Alexsander Silva Dias
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-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-11Pressing Enter key creates or loads script on Attach script windowvolzhs
2017-10-24Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry
- Make ScriptCreateDialog disable the built-in script checked button if the language does not support it. - ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-12Updated function argument namesWilson E. Alvarez
2017-07-07ScriptCreateDialog: fix open error crash, remember templatePoommetee Ketson
2017-06-13Add ability to use custom script templates.Andreas Haas
Templates will be loaded from .godot/script_templates For now they're disabled for GDNative. Ideas for further improvements: - Add a "Save as Template" option to the script editor, as it can normally only save to res:// - Support more placeholders / custom placeholders
2017-05-06Reworked look and feel of Add Script Dialog.Przemysław Gołąb (n-pigeon)
Untangled a lot of Controls logic code and placed it in one place. Which squashed few bugs and made code easier to maintain.
2017-04-15Added the ability to select files as base when creating scriptsmbalint12
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.