Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init` | Rémi Verschelde | 2022-05-02 | 1 | -4/+0 |
| | | | | | | | | | | | Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors. | ||||
* | Indicate code editor search match number | Oğuzhan Eroğlu | 2022-04-27 | 1 | -22/+76 |
| | |||||
* | Add GDExtension support to Script | reduz | 2022-03-27 | 1 | -13/+13 |
| | | | | | | | | | * Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again). | ||||
* | Initialize bools in the headers in editor | Aaron Franke | 2022-03-12 | 1 | -6/+0 |
| | |||||
* | Port existing _notification code to use switch statements (part 1/3) | jmb462 | 2022-02-16 | 1 | -42/+47 |
| | |||||
* | Editor: Cleanup some includes dependencies | Rémi Verschelde | 2022-02-15 | 1 | -4/+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 Brucker | 2022-02-12 | 1 | -2/+2 |
| | |||||
* | Revert "Add missing SNAME macro optimization to all theme methods call" | Rémi Verschelde | 2022-02-08 | 1 | -18/+18 |
| | | | | | | | | 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 call | jmb462 | 2022-02-06 | 1 | -18/+18 |
| | |||||
* | Add missing SNAME macro optimization in some function calls | jmb462 | 2022-02-06 | 1 | -2/+2 |
| | |||||
* | Remove get_focus_owner() from Control, replaced by ↵ | Gilles Roudière | 2022-02-03 | 1 | -2/+2 |
| | | | | get_viewport()->gui_get_focus_owner() | ||||
* | Fix theming update of shader editor | Yuri Roubinsky | 2022-01-25 | 1 | -15/+18 |
| | |||||
* | Rename request_code_completion signal | kobewi | 2022-01-22 | 1 | -1/+1 |
| | |||||
* | Prevent error emitting when clicking on error in code text editor | Yuri Roubinsky | 2022-01-05 | 1 | -1/+3 |
| | |||||
* | Update copyright statements to 2022 | Rémi Verschelde | 2022-01-03 | 1 | -2/+2 |
| | | | | Happy new year to the wonderful Godot community! | ||||
* | Replace String comparisons with "", String() to is_empty() | Nathan Franke | 2021-12-09 | 1 | -2/+2 |
| | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | ||||
* | Fixup last commit, change misleading CodeEditor for consistency | Rémi Verschelde | 2021-12-09 | 1 | -3/+3 |
| | |||||
* | align to horizontal_alignment, valign to vertical_alignment, related | Nathan Franke | 2021-12-09 | 1 | -3/+3 |
| | |||||
* | ScrollContainer's scrollbar visibility is now enum | kobewi | 2021-12-07 | 1 | -1/+1 |
| | |||||
* | Make delete_lines work correctly regardless of the selection | ator-dev | 2021-11-26 | 1 | -1/+1 |
| | |||||
* | Use "enum class" for input enums | Aaron Franke | 2021-11-12 | 1 | -9/+9 |
| | |||||
* | Add option to make selection unique | ConteZero | 2021-10-27 | 1 | -0/+1 |
| | |||||
* | Improve GDScript Editor and Improve latency | Gordon MacPherson | 2021-09-21 | 1 | -8/+1 |
| | | | | | | | | | Improvements: - GDScript Highlighter is faster by 25% as keys are smaller (hashes instead of strings) - Removes message queue from _apply_settings_change to allow resize to work correctly - Some performance fixes are pending still Note: this resolves the code editor behaving badly when resizing in debug builds | ||||
* | Merge pull request #52655 from Chaosus/toggle_scripts_panel | Rémi Verschelde | 2021-09-17 | 1 | -8/+5 |
|\ | |||||
| * | Added status bar and toggle scripts panel button to EditorHelp/VScripts | Yuri Roubinsky | 2021-09-15 | 1 | -8/+5 |
| | | |||||
* | | Tweak the script editor's line/column indicator for readability | Hugo Locurcio | 2021-09-14 | 1 | -4/+2 |
|/ | | | | | | | - Use a colon instead of parentheses and a comma to reduce visual clutter. - Pad the line number with 4 spaces to account for scripts longer than 999 lines. | ||||
* | Prevent error generates if `Delete Line` used on last line in CodeEditor | Yuri Roubinsky | 2021-09-14 | 1 | -1/+3 |
| | |||||
* | Merge pull request #52662 from Chaosus/fix_bookmarks | Rémi Verschelde | 2021-09-14 | 1 | -1/+1 |
|\ | | | | | Fix editor crash on pressing `Go to Previous Bookmark` menu button | ||||
| * | Fix editor crash on pressing `Go to Previous Bookmark` menu button | Yuri Roubinsky | 2021-09-14 | 1 | -1/+1 |
| | | |||||
* | | Fix Find Next shortcut not working when search bar is focused | ThreeRhinosInAnElephantCostume | 2021-09-02 | 1 | -1/+21 |
|/ | |||||
* | Entirely removes BIND_VMETHOD in favor of GDVIRTUAL | reduz | 2021-08-23 | 1 | -5/+2 |
| | | | | | | | | * `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now. | ||||
* | Fix carret not following while debugging (Fix #51754) | jmb462 | 2021-08-16 | 1 | -3/+3 |
| | |||||
* | Reorganise text editor settings | Paulb23 | 2021-08-16 | 1 | -31/+48 |
| | |||||
* | Move CodeEdit theme overrides into EditorTheme | Paulb23 | 2021-08-13 | 1 | -34/+5 |
| | |||||
* | Cleanup and bind remaing methods in TextEdit | Paulb23 | 2021-08-12 | 1 | -13/+9 |
| | |||||
* | Cleanup and expose viewport / scrolling methods | Paulb23 | 2021-08-12 | 1 | -1/+1 |
| | |||||
* | Cleanup TextEdit selection methods | Paulb23 | 2021-08-12 | 1 | -18/+18 |
| | |||||
* | Expose and cleanup TextEdit line wrap API | Paulb23 | 2021-08-12 | 1 | -1/+1 |
| | |||||
* | Cleanup and rename caret operations | Paulb23 | 2021-08-12 | 1 | -85/+85 |
| | |||||
* | Move line length guidelines into CodeEdit | Paulb23 | 2021-08-01 | 1 | -3/+9 |
| | |||||
* | Move brace matching into CodeEdit | Paulb23 | 2021-08-01 | 1 | -1/+1 |
| | |||||
* | Move auto brace completion to CodeEdit | Paulb23 | 2021-08-01 | 1 | -9/+2 |
| | |||||
* | Optimize theme change in code editor | PouleyKetchoupp | 2021-07-30 | 1 | -0/+12 |
| | | | | | Postpone applying the whole theme when a setting changes, to avoid updating everything many times when the whole editor theme is changed. | ||||
* | Use const references where possible for List range iterators | Rémi Verschelde | 2021-07-25 | 1 | -1/+1 |
| | |||||
* | Use C++ iterators for Lists in many situations | Aaron Franke | 2021-07-23 | 1 | -3/+1 |
| | |||||
* | Optimize StringName usage | reduz | 2021-07-18 | 1 | -60/+60 |
| | | | | | | | | | | | * 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. | ||||
* | Script editor: Rename 'Clone Down' to 'Duplicate Selection' | Rémi Verschelde | 2021-06-29 | 1 | -3/+3 |
| | | | | Fixes #36670. | ||||
* | Merge pull request #49719 from LightningAA/rename-node-is-ancestor-of | Rémi Verschelde | 2021-06-29 | 1 | -1/+1 |
|\ | | | | | Rename `is_a_parent_of()` to `is_ancestor_of()` | ||||
| * | Rename `is_a_parent_of()` to `is_ancestor_of()` | Lightning_A | 2021-06-21 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #49650 from KoBeWi/FindReplaceCrash | Rémi Verschelde | 2021-06-24 | 1 | -0/+14 |
|\ \ | | | | | | | Fix crash with FindReplaceBar |