summaryrefslogtreecommitdiffstats
path: root/editor/script_create_dialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Swap arguments of ResourceSaver.save()kobewi2022-07-291-1/+1
|
* Merge pull request #63603 from aaronfranke/editor-pathsRémi Verschelde2022-07-291-2/+3
|\ | | | | Move editor paths into the EditorPaths class
| * Move editor paths into the EditorPaths classAaron Franke2022-07-291-2/+3
| |
* | Remove Signal connect bindsJuan Linietsky2022-07-291-2/+2
|/ | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge2022-07-091-4/+4
|
* Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg2022-06-161-4/+4
| | | | TextServer.
* Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-031-1/+1
| | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Make FileAccess and DirAccess classes reference counted.bruvzg2022-04-111-8/+6
|
* Fix "Script Create" dialog errors with metadataMichael Alexsander2022-03-271-25/+13
|
* Initialize bools in the headers in editorAaron Franke2022-03-121-17/+0
|
* Allow negative indexes in ItemList and PopupMenukobewi2022-03-121-1/+1
|
* Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde2022-03-111-19/+16
| | | | | | | | `DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* Fix errors when updating script template listHaoyu Qiu2022-02-201-15/+67
|
* Connect text_submitted of built-in script namekobewi2022-02-171-0/+1
|
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-1/+1
| | | | | | | | | | | Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-1/+2
|
* Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-9/+9
| | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-9/+9
|
* Add missing SNAME macro optimization in some function callsjmb4622022-02-061-2/+2
|
* Fix template OptionButton in create script dialog doesn't select the correct ↵Jean-Michel Bernard2022-02-051-2/+2
| | | | template
* Cleanup and move char functions to the `char_utils.h` header.bruvzg2022-02-041-1/+1
|
* String: Add contains().Anilforextra2022-02-041-2/+2
|
* Move placeholder color to theme itemPaulb232022-01-301-2/+6
|
* Fix typos with codespellRémi Verschelde2022-01-071-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 2.1.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang ans ba curvelinear dof doubleclick fave findn gird inout leapyear lod merchantibility nd numer ois ony que readded seeked statics
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Improve editor template workflowfabriceci2022-01-021-214/+361
| | | | Co-Authored-By: jmb462 <jmb462@gmail.com>
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-7/+7
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-2/+2
|
* Allow to name built-in scripts upon creationkobewi2021-11-041-2/+24
|
* Use range iterators for `Map`Lightning_A2021-09-301-2/+2
|
* Use bullet points in the editor instead of dashes where relevantHugo Locurcio2021-07-281-2/+2
|
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-3/+3
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-7/+7
|
* Optimize StringName usagereduz2021-07-181-12/+12
| | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
* Merge pull request #50086 from Geometror/label-improve-layout-optionsRémi Verschelde2021-07-131-3/+3
|\ | | | | Improvements to Label's layout options
| * Improvements to Label's layout optionsHendrik Brucker2021-07-041-3/+3
| | | | | | | | | | | | - Added options to trim the text in case it overruns - Added more autowrap modes - Improved line breaking, which ignores trailing spaces
* | Minor cleanup of the "New Script" dialogMichael Alexsander2021-07-041-40/+32
|/
* Make contents of "Create Script" dialog expand with the window sizeMichael Alexsander2021-06-291-5/+3
|
* Documentation search fixesGregory Basile2021-06-161-6/+6
| | | | | | 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"
* Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-111-1/+1
| | | | | File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
* Improve the editor themeHugo Locurcio2021-04-271-2/+0
| | | | | | | | | | The editor theme now makes use of rounded corners and less borders to follow modern visual trends. The default theme's colors were also tweaked to make the blue hue more subtle (similar to the Arc theme, which was removed as a consequence). The Alien theme was replaced by a Breeze Dark theme, which should blend in well with the KDE theme.
* Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal2021-04-171-3/+3
|
* Warn when creating a script with the same name as the parent classAaron Franke2021-04-061-7/+21
|
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | 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 🎆
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-1/+1
|
* Fix incorrect title and button text in Inherit dialogVedat Günel2020-12-261-0/+2
|
* Rename AcceptDialog get_ok() to get_ok_button()Marcel Admiraal2020-12-141-7/+7
| | | | | | Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-3/+3
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Fix being able to create invalid scripts by pressing enter inside "Path"Michael Alexsander2020-08-311-1/+9
|
* Fix TTR misuseSkyJJ2020-07-241-2/+2
|