summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2020-03-30Merge pull request #37436 from akien-mga/doc-node-renamesRémi Verschelde
doc: Update classref with node renames
2020-03-30doc: Update classref with node renamesRémi Verschelde
A few extra renames for classes which were missed in last week's PRs.
2020-03-30Move glow upscale quality to a global setting, for consistencyJuan Linietsky
2020-03-30SCons: Format buildsystem files with psf/blackRémi Verschelde
Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
2020-03-29Properly handle node remove via undoTomasz Chabora
2020-03-27Renaming of servers for coherency.Juan Linietsky
VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
2020-03-27Merge pull request #37340 from reduz/rename-3d-nodesJuan Linietsky
Make 2D and 3D node names more explicit
2020-03-27Rename more 2D and 3D nodes to follow conventionRémi Verschelde
Rename editor plugins to match the new node names.
2020-03-27Renamed 2D and 3D nodes to make their types explicitJuan Linietsky
Fixes #30736.
2020-03-27Fix default editor font.bruvzg
Fix popup_centered_clamped definition typo.
2020-03-26Add macOS DisplayServer implementation.bruvzg
Change global menu to use Callable, add support for check items and submenus.
2020-03-26Multiple changes to DisplayServerX11Mateo Kuruk Miccino
- Travis: Change x11 to linuxbsd - SCons: Change x11 plataform to linuxbsd - Plugins: Remove ; to avoid fallthrough warning - DisplayServerX11: Implement set_icon - DisplayServerX11: Fix X11 bug when a window was erased from windows map, all the changes from that erased windows are sending to the main window - DisplayServerX11: Reorder create_window commands - DisplayServerX11: Change every Size2 to Size2i and Rect2 to Rect2i where it belongs + More X11 fixes which have been integrated directly back into reduz's original commits while rebasing the branch.
2020-03-26Reworked tooltips to use the popup system.Juan Linietsky
2020-03-26Popups have also been converted to windowsJuan Linietsky
Controls using the old modal API have been replaced to use popups.
2020-03-26Open sub-windows as embedded if the OS does not support themJuan Linietsky
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-26Refactored input, goes all via windows now.Juan Linietsky
Also renamed Input to InputFilter because all it does is filter events.
2020-03-26Added a Window node, and made it the scene root.Juan Linietsky
Still a lot of work to do.
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
2020-03-26Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky
2020-03-26Merge pull request #37294 from akien-mga/scons-drop-python2Rémi Verschelde
SCons: Drop support for Python 2
2020-03-26Merge pull request #37287 from Chaosus/vs_skyYuri Roubinsky
Added sky shader mode to visual shaders
2020-03-25Added sky shader mode to visual shadersYuri Roubinsky
2020-03-25SCons: Drop support for Python 2Rémi Verschelde
We now require SCons 3.0+ (first version with Python 3 support), and we set min required Python 3 version to 3.5 (3.4 and earlier are EOL).
2020-03-25Style: Harmonize header guards to style guide [Core]Rémi Verschelde
2020-03-25Merge pull request #37272 from AndreaCatania/fix_ik_rotRémi Verschelde
Fixed IK rotation issue
2020-03-24Fixed IK rotation issueAndrea Catania
2020-03-24Move DocData and Collada out of their subfoldersRémi Verschelde
Now that the unused DocDump was removed, the `editor/doc` subfolder is redundant. Similarly, there's no reason for Collada to have a subfolder for itself when glTF or OBJ don't.
2020-03-24Remove unused classes and stray headersRémi Verschelde
Found by reviewing headers with 1 or less matching includes: ``` find -name thirdparty -prune -o -name "*.h" -exec basename {} \; | sort -u > headers for header in $(cat headers); do echo "$header: "; rg -l "#include \"(.*/)?$header\"" | wc -l; done > list-includes ```
2020-03-22Merge pull request #37179 from clayjohn/VULKAN-sky-shaderRémi Verschelde
Implement Sky Shaders
2020-03-21Working sky shader implementationclayjohn
2020-03-21Merge pull request #37161 from simpuid/positon-gizmo-fixRémi Verschelde
Fixes transform gizmo position when node has default transform
2020-03-21Fixes transform gizmo position when node has default transformsimpuid
Changes made: * Added dirty bit for SpatialEditorSelectedItem's last_xform * SpatialEditorViewport checks that dirt bit too before skipping the selection
2020-03-20i18n: Add header strings to translation catalogRémi Verschelde
2020-03-20i18n: Add support for translating the class referenceRémi Verschelde
- Parse `.po` files from `doc/translations/*.po` like already done with `editor/translations/*.po`. - Add logic to register a doc translation mapping in `TranslationServer` and `EditorSettings`. - Add `DTR()` to lookup the doc translation mapping (similar to `TTR()`). Strings are automatically dedented and stripped of whitespace to ensure that they would match the translation catalog. - Use `DTR()` to translate relevant strings in `EditorHelp`, `EditorInspector`, `CreateDialog`, `ConnectionsDialog`. - Small simplification to `TranslationLoaderPO`, the path argument was not really meaningful.
2020-03-19Merge pull request #37159 from ThakeeNathees/f8-stop-process-crash-fixFabio Alessandrelli
Fix editor crash when stopping game with F8.
2020-03-19Merge pull request #35712 from KoBeWi/theheme_spyRémi Verschelde
Show theme property descriptions in the inspector
2020-03-19stop game process with KEY_F8 crash fixedThakee Nathees
Fix: #37121
2020-03-18Editor 2D: Change pixel alignment strategy, fix jittering in high zoomjohan
Alignment of scene pixels on screen pixel ensure a crisp rendering of small features (such as text). Unfortunately, alignment of top left pixel on screen adds a lot of jittering when zooming at high zoom factor. This change allow to snap the top left scene pixel on the closest screen pixel (not only the top-left most), and we do so only when the scale factor is an integer.
2020-03-18Merge pull request #37116 from neikeq/issue-12917Rémi Verschelde
Sync csproj when files are changed from the Godot FileSystem dock
2020-03-18Expose FileSystemDock to the scripting API and fixed signalsIgnacio Etcheverry
Fixed FileSystemDock's `file_removed` and `folder_removed` signals not being emitted because the emitted was using the wrong signal name.
2020-03-18Merge pull request #36993 from van800/editor_metadataRémi Verschelde
For third-party tools - editor_path is stored in project's editor settings
2020-03-17Merge pull request #37106 from akien-mga/clang-format-cpp11Rémi Verschelde
Style: Set clang-format Standard to Cpp11
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-03-16prevent joypad button input dropdown going out of dialogalvaroHernandez
2020-03-16i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit 0e36b11f9d05bacd5036acc48bf654cbcd5b7628)
2020-03-16Merge pull request #36184 from volzhs/plugins-checkboxRémi Verschelde
Use checkbox for plugin status instead of option list
2020-03-14Merge pull request #36970 from JFonS/fix_viewports_updateRémi Verschelde
Update all editor viewports after settings changes
2020-03-14Update all editor viewports after settings changesJFonS