summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2020-06-03Merge pull request #39204 from Calinou/distraction-free-property-getterRémi Verschelde
Add a getter and property for the editor distraction-free mode
2020-06-03Merge pull request #37839 from MrRevington/3.2-_input_focus_checkRémi Verschelde
FIX CodeTextEditor not respecting focus in _input
2020-06-03Merge pull request #39167 from Calinou/tileset-editor-zoom-mouse-wheel-anywhereRémi Verschelde
Allow mouse zooming without hovering the texture in the TileSet editor
2020-06-03Merge pull request #39165 from Calinou/tilemap-editor-zoom-mouse-wheelRémi Verschelde
Implement zooming using Ctrl + Mouse wheel in the TileMap editor
2020-06-03Merge pull request #39262 from aaronfranke/okRémi Verschelde
Change OK text in snap dialog to OK
2020-06-03Merge pull request #39009 from Calinou/improve-script-editor-warnings-textRémi Verschelde
Improve the text appearance in the script editor warnings panel
2020-06-03Add a getter and property for the editor distraction-free modeHugo Locurcio
2020-06-03Implement zooming using Ctrl + Mouse wheel in the TileMap editorHugo Locurcio
This was previously implemented in the GridMap editor. This makes the same feature available in the TileMap editor.
2020-06-03Allow mouse zooming without hovering the texture in the TileSet editorHugo Locurcio
This partially addresses https://github.com/godotengine/godot-proposals/issues/968.
2020-06-03Change OK text in snap dialog to OKAaron Franke
2020-06-03Merge pull request #39150 from ↵Rémi Verschelde
dreamsComeTrue/project-manager-grab-focus-on-enter Grabbing focus on ProjectList after clicking an item.
2020-06-03Merge pull request #39203 from Xrayez/fix-no-lang-crashRémi Verschelde
Prevent crash attaching a script with no languages registered
2020-06-03Merge pull request #39209 from Xrayez/ray-shape-indieRémi Verschelde
Move `RayShape2D` implementation into its own translation unit
2020-06-01Improved warning shown when autoload cannot be added.Eric M
2020-06-01Move `RayShape2D` implementation into its own translation unitAndrii Doroshenko (Xrayez)
2020-05-31Prevent crash attaching a script with no languages registeredAndrii Doroshenko (Xrayez)
2020-05-30Grabbing focus on ProjectList after clicking an item.Dominik 'dreamsComeTrue' Jasiński
Fixes: #39012
2020-05-29Merge pull request #39051 from Xrayez/geometry-splitRémi Verschelde
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
2020-05-28Use translated docs in PropertySelectorRémi Verschelde
And do the dedent and stripping for both translated and non-translated strings for consistency, and so that we don't need to do it at the call site.
2020-05-27Split `Geometry` singleton into `Geometry2D` and `Geometry3D`Andrii Doroshenko (Xrayez)
Extra `_2d` suffixes are removed from 2D methods accoringly.
2020-05-27Merge pull request #39062 from akien-mga/du-pain-et-des-jeuxRémi Verschelde
Add shortcut for Pan Mode (G)
2020-05-27Merge pull request #36409 from fire/skeleton-custom-inspectorRémi Verschelde
Custom Skeleton3DEditorPlugin
2020-05-26Add shortcut for Pan Mode (G)Rémi Verschelde
And change TileMap Bucket Fill shortcut to (B). Fixes #8582.
2020-05-26Merge pull request #28289 from aaronfranke/gridRémi Verschelde
Dynamic infinite 3D grid
2020-05-25Add `custom_modules` build option to compile external user modulesAndrii Doroshenko (Xrayez)
This patch adds ability to include external, user-defined C++ modules to be compiled as part of Godot via `custom_modules` build option which can be passed to `scons`. ``` scons platform=x11 tools=yes custom_modules="../project/modules" ``` Features: - detects all available modules under `custom_modules` directory the same way as it does for built-in modules (not recursive); - works with both relative and absolute paths on the filesystem; - multiple search paths can be specified as a comma-separated list. Module custom documentation and editor icons collection and generation process is adapted to work with absolute paths needed by such modules. Also fixed doctool bug mixing absolute and relative paths respectively. Implementation details: - `env.module_list` is a dictionary now, which holds both module name as key and either a relative or absolute path to a module as a value. - `methods.detect_modules` is run twice: once for built-in modules, and second for external modules, all combined later. - `methods.detect_modules` was not doing what it says on the tin. It is split into `detect_modules` which collects a list of available modules and `write_modules` which generates `register_types` sources for each. - whether a module is built-in or external is distinguished by relative or absolute paths respectively. `custom_modules` scons converter ensures that the path is absolute even if relative path is supplied, including expanding user paths and symbolic links. - treats the parent directory as if it was Godot's base directory, so that there's no need to change include paths in cases where custom modules are included as dependencies in other modules.
2020-05-25Fix build after merge of #37235Rémi Verschelde
It used APIs that were changed after the PR was last rebased.
2020-05-25Merge pull request #37235 from Calinou/improve-editor-feature-profilesRémi Verschelde
Improve the editor feature profiles UX
2020-05-25Reverse mouse wheel in animation track editorTomasz Chabora
2020-05-24Improve the text appearance in the script editor warnings panelHugo Locurcio
- Make the Ignore button's position identical across all warnings by moving it to the left. - Change the Ignore button's text and color to make it more obvious that it can be clicked. - Use the editor font instead of the default project font to match the rest of the editor.
2020-05-22Dynamic infinite 3D gridAaron Franke
Well, infinite for all intents and purposes.
2020-05-22Custom Skeleton3DEditorPluginK. S. Ernest (iFire) Lee
Co-authored-by: Marios Staikopoulos <marios@staik.net>
2020-05-22FIX CodeTextEditor not respecting focus in _inputMrRevington
2020-05-21Fix moving 2D node with mouse after using arrow keysDominik 'dreamsComeTrue' Jasiński
Fixes: #38894
2020-05-20DocData: Fix sorting of arguments and constantsRémi Verschelde
The missing `operator<` definitions caused `Vector::sort()` to fail sorting those alphabetically by name on Windows (not sure why Linux isn't affected, I guess GCC/Clang are cleverer and use the operator from the first struct member).
2020-05-20Merge pull request #38876 from paulloz/fix-import-params-errorRémi Verschelde
Fix error with 'params' when import dock doesn't define any parameter
2020-05-20check the params section exist before erasing it in import_dockPaul Joannon
related #38864
2020-05-19Keep "lock" metadata when changing a Node's type, if applicableMichael Alexsander
2020-05-18Merge pull request #38800 from YeldhamDev/icons_completeRémi Verschelde
Add more missing node icons
2020-05-17Merge pull request #38804 from m4gr3d/android_plugin_config_masterRémi Verschelde
Implementation of the Godot Android Plugin configuration file
2020-05-17Implementation of the Godot Android Plugin configuration fileFredia Huya-Kouadio
2020-05-17Add more missing node iconsMichael Alexsander
2020-05-17Merge pull request #38695 from dreamsComeTrue/node-swap-order-argumentsRémi Verschelde
Replace 'add_child_below_node' with 'add_sibling' in Node
2020-05-16Merge pull request #38451 from eduardonunesp/feature/command-comma-preferencesRémi Verschelde
Using command + comma on macOS as default shortcut for editor settings
2020-05-15Merge pull request #38764 from YeldhamDev/icons_missingRémi Verschelde
Add more missing icons
2020-05-15Replace 'add_child_below_node' with 'add_sibling' in NodeDominik 'dreamsComeTrue' Jasiński
Fixes: #19642
2020-05-15Add more missing iconsMichael Alexsander
2020-05-15Hide editor_spin_slider grabber when closing Editor's windowsDominik 'dreamsComeTrue' Jasiński
Fixes: #38740
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: Enforce separation line between function definitionsRémi Verschelde
I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.