Commit graph

8137 commits

Author SHA1 Message Date
Rémi Verschelde de2c2be19b
Shortcut: Rename shortcut property to event
Having a property which has the same name as its class leads to confusing
situations (e.g. `BaseButton` has a `shortcut` property of type `Shortcut`
which has a `shortcut` property of type `InputEvent`).

Also renames `is_event` to `matches_event`, and `is_valid` to `has_valid_event`
to better reflect what the methods check.
2021-08-05 13:48:43 +02:00
Yuri Sizov d3e413c659 Fix the editor theme application for the Mono build log 2021-08-03 22:13:32 +03:00
Fabio Alessandrelli 80fc90e82a
Merge pull request #50454 from Ev1lbl0w/gsoc21-dap
Implemented initial DAP support
2021-08-03 17:12:37 +02:00
Yuri Sizov decd548223 Cache EditorResourcePicker's allowed types 2021-08-03 16:52:12 +03:00
Rémi Verschelde 74f5513d21
i18n: Sync template with current 3.x codebase
Weblate will now track the state of `3.x` to prepare for the 3.4 release.

(cherry picked from commit 92bafdcafb)
2021-08-03 11:07:47 +02:00
Rémi Verschelde f618e7cf06
i18n: Sync translations with Weblate
Last POT sync with the `3.3` branch, we'll now switch Weblate to track
`3.x` to prepare for the 3.4 release.

(cherry picked from commit dec840452d)
2021-08-03 11:07:40 +02:00
Rémi Verschelde 57a5186b08
Merge pull request #51006 from foxydevloper/drag-drop-naming
Name nodes added when drag & dropping an image by `name_casing`
2021-08-03 09:38:03 +02:00
Rémi Verschelde a7f24080a2
Merge pull request #51118 from SirQuartz/patch-39
Make the "View" menu in the 3D viewport stay open when selecting a checkbox
2021-08-03 09:35:17 +02:00
Yuri Roubinsky a34a91a30b Added more input/output built-ins to visual shaders 2021-08-03 09:32:40 +03:00
Rémi Verschelde a6374c6675
Merge pull request #50703 from Chaosus/vs_remove_subparticles_from_start
Removes EmitParticle node from the start functions in visual shader
2021-08-03 08:14:15 +02:00
Rémi Verschelde c17a541650
Merge pull request #51039 from nekomatata/layer-grid-32
Refactor layer property editor grid
2021-08-02 21:14:16 +02:00
Yuri Roubinsky bd6b7c4b0f
Merge pull request #51144 from Chaosus/vs_version
Makes dictionary instead of string for visual shader version
2021-08-02 21:55:50 +03:00
Rémi Verschelde 610fbc556a
Merge pull request #51168 from akien-mga/dependency-move-to-trash
Dependency editor: Edit message about move to trash
2021-08-02 20:45:55 +02:00
Rémi Verschelde c620ede327
Merge pull request #50122 from Paulb23/code_edit_auto_brace_completion 2021-08-02 20:44:39 +02:00
Yuri Roubinsky 94c6817b51 Makes dictionary instead of string for visual shader version
Update doc/classes/VisualShader.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-08-02 21:34:19 +03:00
Rémi Verschelde 5360c2012c
Merge pull request #51004 from groud/tilemap_layers
Implements TileMap layers and move TileSetPlugins's functions to the TileMap node instead
2021-08-02 17:20:32 +02:00
Rémi Verschelde b9d544b404
Merge pull request #51173 from RandomShaper/tidy_property_reversion
Fix up property reversion
2021-08-02 15:47:57 +02:00
Rémi Verschelde f20c00a935
Merge pull request #51170 from timothyqiu/spin-slider-osx
Use Command+Drag in EditSpinSlider on macOS
2021-08-02 14:40:26 +02:00
Pedro J. Estébanez 24f2aaecc3 Fix up property reversion 2021-08-02 13:58:02 +02:00
Gilles Roudière ad8b5cd5a4 Implements TileMap layers and move TileSetPlugins's functions to the TileMap node instead 2021-08-02 13:54:39 +02:00
Rémi Verschelde 33fd41472c
Merge pull request #49783 from aaronfranke/real-editor-plugins
Use real_t in editor plugins
2021-08-02 12:50:54 +02:00
Haoyu Qiu 4404c71ca1 Use Command+Drag in EditSpinSlider on macOS 2021-08-02 18:43:43 +08:00
Rémi Verschelde face3203be
Merge pull request #50430 from goostengine/ctrl-enter-commit
VCS: Allow to stage and commit all files with Ctrl + Enter
2021-08-02 12:20:10 +02:00
Rémi Verschelde 41ed695ba2
Dependency editor: Edit message about move to trash
Fixes #47106.
2021-08-02 12:03:18 +02:00
Ev1lbl0w 7bccd5487e
Implemented initial DAP support
Implemented "output" event

Refactored "seq" field generation

Prevent debugging when editor and client are in different projects

Removed unneeded references to peer on the parser

Refactored way to detect project path

Implemented "setBreakpoints" request

Fix double events when terminating from client

Refactored "stopped" event

Implemented "stopped" with breakpoint event

Implemented "stackTrace", "scopes" and "variables" request

Report incoming number of stack dump variables

Implemented proper reporting of scopes and variables from stack frames

Prevent editor from grabbing focus when a DAP session is active

Implemented "next" and "stepIn" requests

Implemented "Source" checksum computing

Switched expected errors from macros to silent guards

Refactored message_id

Respect client settings regarding lines/columns behavior

Refactored nested DAP fields

Implement reporting of "Members" and "Globals" scopes as well

Fix error messages not being shown, and improved wrong path message
2021-08-02 10:43:35 +01:00
Aaron Franke dbad475fc7
Use real_t in editor plugins
Also use const more often and delete dead code in CanvasItemEditor
2021-08-01 21:48:34 -05:00
Paulb23 809a32c045 Clean up and complete CodeEdit inspector and docs 2021-08-01 12:24:19 +01:00
Rémi Verschelde f06d201bb7
Merge pull request #51139 from Chaosus/fix_canvasitem_drag_warning
Prevent warning spam to console when dragging a CanvasItem in container
2021-08-01 13:15:02 +02:00
Paulb23 dd5a37f556 Move symbol lookup into CodeEdit 2021-08-01 12:06:33 +01:00
Paulb23 8f900ac178 Move line length guidelines into CodeEdit 2021-08-01 12:06:33 +01:00
Paulb23 d1a1ad127e Move brace matching into CodeEdit 2021-08-01 12:06:33 +01:00
Paulb23 12f0053555 Move auto brace completion to CodeEdit 2021-08-01 12:06:33 +01:00
Yuri Roubinsky bb5729fd35 Prevent warning spam to console when dragging a CanvasItem in container 2021-08-01 13:01:46 +03:00
Yuri Roubinsky c86aa2a705 Fix crash on doc dragging in script list panel 2021-08-01 12:20:11 +03:00
Rémi Verschelde 536f6a1472
Merge pull request #51124 from YeldhamDev/local_editor_dup_fix
Fix being able to add duplicate files in the Localization editor
2021-08-01 10:14:11 +02:00
Michael Alexsander fb07cc8832 Fix being able to add duplicate files in the Localization editor 2021-07-31 19:35:46 -03:00
Nicholas Huelin 3ffd75107d
Make the "View" menu in 3D view toolbar stay open when selecting a checkbox
This pull request fixes an issue where the "View" menu in the 3D view toolbar would close when you selected either the "View Origin" or "View Grid" checkboxes. This was inconvenient and wasted time by making you have to reopen the menu in order to get to other settings anytime you changed this.
2021-07-31 16:33:38 -04:00
Rémi Verschelde 007b877cb7
Merge pull request #51114 from pycbouh/editor-fix-audio-bus-colors
Fix theming in the audio bus editor
2021-07-31 22:13:21 +02:00
Rémi Verschelde 20fa3ec093
Merge pull request #51110 from pycbouh/editor-put-the-colon-back-in
Put multiple colons back into translated strings
2021-07-31 22:05:43 +02:00
Yuri Sizov 4013d03c45 Fix theming in the audio bus editor 2021-07-31 22:14:14 +03:00
Yuri Sizov 969ba687ef Put multiple colons back into translated strings 2021-07-31 20:08:07 +03:00
Haoyu Qiu 284c6c81eb Make action names translatable 2021-07-31 22:19:51 +08:00
Rémi Verschelde 20d46c5b9e
Merge pull request #46270 from RandomShaper/fix_can_reset
Rationalize property reversion
2021-07-31 14:13:24 +02:00
Rémi Verschelde a35b4bf3ea
Merge pull request #51057 from V-Sekai/bake-reset-anim
Bake RESET animation.
2021-07-30 23:35:27 +02:00
Pedro J. Estébanez db9e3f257f Rationalize property reversion 2021-07-30 22:36:55 +02:00
Nicholas Huelin 658b152bd8
Make "Find in Files" searches ignore directories with .gdignore files in them
This pull request fixes an issue where searches using the "Find in Files" function would include folders with `.gdignore` files in them. The editor is supposed to ignore directories with these files in them altogether.
2021-07-30 15:10:05 -04:00
Rémi Verschelde fd0775398b
Merge pull request #51078 from nekomatata/code-editor-theme-change-optimization
Optimize theme change in code editor
2021-07-30 20:47:31 +02:00
Rémi Verschelde bc8a85b3e0
Merge pull request #50984 from Calinou/project-manager-vulkan-clustered-mobile
Expose Vulkan's clustered and mobile backends in the project manager
2021-07-30 20:32:22 +02:00
PouleyKetchoupp 7a0c210f9b Refactor layer property editor grid
- Now able to display up to 32 layers in physics (still 20 for render)
- Adjustable grid size to fit available space in dock
- Expansion icon to display more layers vertically
- Layer numbers in cells to help with selection
2021-07-30 11:19:50 -07:00
PouleyKetchoupp edc858ad82 Optimize theme change in code editor
Postpone applying the whole theme when a setting changes, to avoid
updating everything many times when the whole editor theme is changed.
2021-07-30 10:40:59 -07:00