Commit Graph

57642 Commits

Author SHA1 Message Date
Hugo Locurcio e732a9d41b
Add XML files to default TextFile extensions in the editor
This allows opening `*.xml` files by double-clicking them in the
FileSystem dock.
2023-09-13 20:44:15 +02:00
Yuri Sizov fe000277ea Bind remaining theme properties to their respective classes
This adds binds for GraphEdit/GraphElement/GraphNode, which were
skipped before due to a rework. This also adds binds for Window,
which was skipped before due to a complicated code organization.

Also adds theme cache entries/direct cache access to a few places
that previously missed it. Some theme properties are now exposed
to other classes via friendships or public getters for convenience.

This removes all string-based theme access from scene/ classes.
2023-09-13 19:31:35 +02:00
Yuri Sizov f542dffb39 Improve the looks of 2D/3D viewport contextual toolbars 2023-09-13 13:04:55 +02:00
Haoyu Qiu cf906ebc9b Make editor support `--fullscreen` command-line argument 2023-09-13 16:19:11 +08:00
Bastiaan Olij 3806d964e3 Fix issue with OpenXR environment blend mode not being applied properly 2023-09-13 14:07:23 +10:00
Aaron Franke 366e54b0a3
Fix GraphEdit port valid connections incorrectly checking sides 2023-09-12 20:46:43 -05:00
William Edwards 188132884d Fix dumping of signal API parameters 2023-09-12 18:43:31 -07:00
ryanabx ceda960131 Remove REDUNDANT_FOR_VARIABLE_TYPE
Remove REDUNDANT_FOR_VARIABLE_TYPE
2023-09-12 20:04:32 -05:00
A Thousand Ships 3565d1bf7e [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-09-12 20:13:32 +02:00
kobewi 015953a3d9 Add helper for 3D gizmos and unify box 2023-09-12 18:08:02 +02:00
Rémi Verschelde 3ed4497113
Merge pull request #81569 from timothyqiu/action-name
Improve undo action names
2023-09-12 17:48:11 +02:00
Rémi Verschelde ff7428f4cd
Merge pull request #81568 from AThousandShips/null_check_scene_main
[Scene,Main] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-12 17:47:43 +02:00
ocean (they/them) d330f5642e GDScript: Fix compilation of expressions compiling other classes
This PR is part of ongoing work on fixing cyclic dependencies in the GDScript
compiler.
2023-09-12 11:18:33 -04:00
David Snopek 6554ccf86d GDExtension: Delete left-over DLL copy before making a new copy 2023-09-12 09:57:40 -05:00
Gilles Roudière bc33add262 Document why use either _unhandled_key_input, _shortcut_input or _unhandled_input 2023-09-12 13:18:07 +02:00
MewPurPur ea51392824 Optimize Variant icons 2023-09-12 14:15:55 +03:00
Haoyu Qiu b8b0339549 Improve undo action names
* Avoid concating strings manually for better i18n and easy l10n
   * Use `vformat` when possible
   * Use separate strings if the changing part is only a few hardcoded strings
* Don't put a period at the end of the name
2023-09-12 18:53:50 +08:00
A Thousand Ships a29416e332 [Scene,Main] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-09-12 12:53:06 +02:00
Rémi Verschelde 98b50eb308
Merge pull request #81565 from timothyqiu/typos
Fix typos in EditorDebuggerPlugin and RDShaderSPIRV classref
2023-09-12 12:02:50 +02:00
Rémi Verschelde 183850ee24
Merge pull request #81563 from jsjtxietian/ignore-method-track-when-draw-line
Ignore method track when drawing line between keys
2023-09-12 12:02:26 +02:00
Rémi Verschelde cc61c9d63d
Merge pull request #81487 from AThousandShips/null_check_core
[Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-12 12:02:02 +02:00
Rémi Verschelde 38ca83e16f
Merge pull request #81464 from AcatXIo/fix-sign-nan
Fix `SIGN(NAN)` returning 1
2023-09-12 12:01:39 +02:00
Rémi Verschelde 3e68ed0ca1
Merge pull request #81255 from JohnGabrielUK/primary-line-separate-xy
Allow configuring primary line X/Ys separately
2023-09-12 12:01:15 +02:00
Rémi Verschelde e83fc9c03a
Merge pull request #80503 from OXTyler/80379
Fixes Scene corruption when child scene is renamed in another directory
2023-09-12 12:00:49 +02:00
Rémi Verschelde 475860839c
Merge pull request #80144 from KoBeWi/freedom_tiles
Add per-tile flipping and transposing
2023-09-12 12:00:20 +02:00
Danil Alexeev 26ce861910
Editor: Remove unused Class Name field from Create Script dialog 2023-09-12 12:49:56 +03:00
John Gabriel 984eb96c43 Allow configuring primary line X/Ys separately 2023-09-12 10:24:07 +01:00
Aaron Franke 7e3e13fc66
Doc: Reference String <-> PackedByteArray conversions from each other 2023-09-12 03:43:01 -05:00
Haoyu Qiu 2c59c59270 Fix typos in EditorDebuggerPlugin and RDShaderSPIRV classref 2023-09-12 16:16:32 +08:00
Rémi Verschelde 5c43e4c1ef
Fix various typos with codespell
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
Rémi Verschelde 6a007c7512
Merge pull request #81546 from YuriSizov/there-isnt-enough-room-for-two-ways-to-customize-a-dialog-in-this-town-boy
Hide the `dialog_text` property from `FileDialog`
2023-09-12 08:51:09 +02:00
Rémi Verschelde 7471ac2c4d
Merge pull request #81543 from DarioSamo/lightmap-size-crash-fix
Propagate error correctly when max texture size for lightmaps is too small.
2023-09-12 08:50:45 +02:00
Rémi Verschelde 64fce49dc6
Merge pull request #81423 from kleonc/tile-map-get-used-rect-fix
Fix `TileMap::get_used_rect` incorrectly handling empty layers
2023-09-12 08:50:21 +02:00
Rémi Verschelde 0545ed5c71
Merge pull request #81355 from ryanabx/features/enforce-static-typing
Add an optional `untyped_declaration` warning
2023-09-12 08:49:57 +02:00
Rémi Verschelde b539bfb263
Merge pull request #81201 from anvilfolk/rpc
GDScript: Fix subclass methods not inheriting RPC info
2023-09-12 08:49:33 +02:00
Rémi Verschelde 006a88c855
Merge pull request #80975 from Calinou/editor-property-auto-refresh-add-property-hint
Add a property hint range to Auto Refresh Interval editor setting
2023-09-12 08:49:08 +02:00
Rémi Verschelde d507708761
Merge pull request #80973 from ryanabx/pr/79988
Language Server: Improve hovered symbol resolution, fix renaming bugs, implement reference lookup
2023-09-12 08:48:44 +02:00
Rémi Verschelde 2c2ca3d958
Merge pull request #74843 from jmb462/code_region
Add code region folding to CodeEdit
2023-09-12 08:48:21 +02:00
jsjtxietian 042e0f7019 Ignore method track when drawing line between keys 2023-09-12 14:43:23 +08:00
Hugo Locurcio 9359e0b91d
Add a property hint range to Auto Refresh Interval editor setting
This prevents using zero or negative values, which are invalid and
will cause various issues in the editor (such as the inspector never
updating until the editor is closed and reopened).
2023-09-11 19:46:21 +02:00
A Thousand Ships 893f889d74 [Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-09-11 19:45:49 +02:00
Jean-Michel Bernard 67dce301aa Add code region folding to CodeEdit 2023-09-11 18:36:40 +02:00
Danil Alexeev 4b5daf06ef
Editor: Improve signal callback generation 2023-09-11 18:45:39 +03:00
Danil Alexeev 2964c7d51c
GDScript: Add raw string literals (r-strings) 2023-09-11 18:34:33 +03:00
ocean (they/them) 711ffabcfe GDScript: fix subclass methods not inheriting RPC info 2023-09-11 11:10:07 -04:00
BooksBaum 0202a36a7a Language Server: Improve hovered symbol resolution, fix renaming bugs, implement reference lookup
Co-Authored-By: Ryan Brue <56272643+ryanabx@users.noreply.github.com>
Co-Authored-By: BooksBaum <15612932+booksbaum@users.noreply.github.com>
2023-09-11 09:46:34 -05:00
ryanabx 14edf044af Add "untyped_declaration" warning 2023-09-11 09:39:10 -05:00
Yuri Sizov d0e26572fe Hide the `dialog_text` property from `FileDialog`
It's useless in `FileDialog`, because dialogs can have either
a text label or a custom layout, and `FileDialog` already
has a custom layout.
2023-09-11 16:24:54 +02:00
Rémi Verschelde 221884e6bc
Merge pull request #81534 from BastiaanOlij/fix_openxr_huawei_default_profile
OpenXR: Fix missing add profile for Huawei
2023-09-11 15:40:52 +02:00
Rémi Verschelde 218a27a859
Merge pull request #81517 from Calinou/doc-scrollcontainer-signal-touch-only
Document ScrollContainer signals being emitted for touch events only
2023-09-11 15:40:28 +02:00