1
0
Fork 0
Commit Graph

469 Commits

Author SHA1 Message Date
Rémi Verschelde 3b90bb56ad
Merge pull request #89782 from KoBeWi/stdArrayList
Use initializer list in Arrays
2025-03-28 17:29:40 +01:00
Yyf2333 22b5ec17fb Using iterator pattern instead of List::Element *.
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
2025-03-28 13:29:15 +08:00
Lukas Tenbrink ffa6ef220b Use `append_` instead of `parse_` for `String` methods. 2025-03-27 17:51:02 +01:00
kobewi 75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +01:00
Michael Alexsander d01d40490f
Fix regressions regarding multiple remote object selection 2025-03-24 18:07:12 -03:00
Stuart Carnie 742b27fdd6 Editor: Simplify `_parse_message`; separate into handler functions
Move the individual message handlers to separate functions, to make it
easier to follow and add additional message handlers. The function
is also more efficient as it only performs a single hash lookup for
the handler and then dispatches to the member function.
2025-03-22 05:52:20 +11:00
Thaddeus Crews 97241ffea6
Merge pull request #99555 from Meorge/mute-game
Add "Mute Game" toggle in Game view
2025-03-19 17:46:11 -05:00
Malcolm Anderson 6858607e74 Add "Mute Audio" button to Game view in editor
Update servers/audio_server.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Apply suggestions from code review

Co-authored-by: Adam Scott <ascott.ca@gmail.com>

Fix a few lines for new member names

Add command-line argument `--debug-mute-audio`, and pass it to game if started with mute enabled

Apply suggestions from code review

Co-authored-by: arkology <43543909+arkology@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>

Fix icon for svgo
2025-03-19 08:20:17 -07:00
kobewi 10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Haoyu Qiu ff903e36a5 Debugger: Allow locating VRAM resource by double-clicking 2025-03-18 08:26:05 +08:00
kobewi 6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
Thaddeus Crews c1b7865ae9
Merge pull request #103557 from aaronfranke/godot-version-defines
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
2025-03-13 08:57:42 -05:00
ydeltastar ddb94b9e9d
Fix debugger's memory leak when project closes itself 2025-03-12 16:46:23 -03:00
Aaron Franke 97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
kobewi 7d82704f12 Allow to ignore debugger error breaks 2025-03-12 19:05:57 +01:00
Michael Alexsander 5c66129e62
Allow to select multiple remote nodes at runtime 2025-03-11 12:35:41 -03:00
Thaddeus Crews 7d46e7d011
Merge pull request #98379 from timothyqiu/alien-thread
Translate main thread name in the editor instead of running project
2025-03-10 10:01:11 -05:00
A Thousand Ships 466590d0ec
Use `get_slicec` instead of `get_slice` for single character splitters 2025-03-08 20:36:37 +01:00
Thaddeus Crews 324512e11c
Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
A Thousand Ships 5113022dfe
Clean up some uses of `String::substr`
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Haoyu Qiu 513dbff72b Translate main thread name in the editor instead of running project 2025-03-07 19:06:54 +08:00
Esther Dalhuisen 109e2b3b5f
Change output format for milliseconds in timestamps to 3 zeroes
Fixes #102527
2025-02-07 13:54:15 +01:00
arkology 03bfb4656f Use `FlowContainer` for `Profiler` and `Visual Profiler` bars 2025-01-29 21:04:35 +03:00
Hilderin 05fcfede1e Fix Floating Game Window Title 2025-01-19 15:45:59 -05:00
Rémi Verschelde ae205b0fc6
Merge pull request #98926 from YeldhamDev/out_all_of_you
Add toggle to hide filtered out parents in the "SceneTree" dock
2025-01-06 22:46:48 +01:00
Ricardo Subtil b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
Michael Alexsander 38ff1500c7
Add toggle to hide filtered out parents in the "SceneTree" dock 2024-12-24 13:43:01 -03:00
A Thousand Ships a1846b27ea
Improve use of `Ref.is_null/valid`
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
Hendrik Brucker 9f8bbe43ee Add profiler autostart indicator to EditorRunBar 2024-12-16 10:15:24 +01:00
Chaosus ba39b078f5 [Scene] Add `SceneStringName::FlatButton` 2024-12-10 11:12:26 +03:00
Lukas Tenbrink b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
Rémi Verschelde e6125ef51b
Merge pull request #98763 from AThousandShips/more_sname_uses
Use `SceneStringName` in more places
2024-12-02 15:50:44 +01:00
Rémi Verschelde ed93ab2f53
Merge pull request #98657 from ydeltastar/stay-sane-using-evaluator
Add editor setting to stop the bottom panel from switching to the Stack Trace
2024-12-02 15:50:31 +01:00
A Thousand Ships af56d6e8e8
Use `SceneStringName` in more places 2024-12-02 14:39:16 +01:00
Rémi Verschelde 04882d73bb
Merge pull request #99113 from MewPurPur/tweak-debugger-sizings
Add minimum size to some debugger elements
2024-11-29 22:47:02 +01:00
Rémi Verschelde 4aed2b7981
Merge pull request #99086 from Calinou/editor-visual-profiler-show-hardware-info
Display CPU and GPU model name in the editor visual profiler
2024-11-29 22:46:58 +01:00
Rémi Verschelde b66c1d0a73
Merge pull request #76055 from reach-satori/plot_zoom
Implement zooming and panning in the profiler
2024-11-29 22:45:24 +01:00
Thaddeus Crews 9e259ef061
Merge pull request #97884 from passivestar/list-variations
Add theme type variations for secondary Trees and ItemLists
2024-11-27 10:47:14 -06:00
Thaddeus Crews 1bba277d3f
Merge pull request #99417 from passivestar/thread-selector
Disable the debugger thread selector when there's nothing to select
2024-11-26 13:04:56 -06:00
Thaddeus Crews d09d82d433 Merge pull request #99068 from yahkr/fix_monitor_display
[Editor] Fix float value used for integer performance monitors
2024-11-25 13:22:36 -06:00
Thaddeus Crews 0c45ace151 Merge pull request #99054 from timothyqiu/session-names
Translate the name of the debugger session tabs
2024-11-22 14:54:49 -06:00
passivestar 0ff5d5fd04 Add theme type variations for secondary Trees and ItemLists 2024-11-19 18:33:30 +04:00
passivestar 6ba86c3852 Disable the debugger thread selector when there's nothing to select 2024-11-19 17:11:43 +04:00
A Thousand Ships 68f638cf02
Use `(r)find_char` instead of `(r)find` for single characters 2024-11-17 10:02:18 +01:00
Mateus Reis c6492de27b Profiler plot zoom and pan 2024-11-12 16:31:43 +02:00
MewPurPur 5769c80196 Add minimum size to some debugger elements 2024-11-12 12:35:41 +02:00
Hugo Locurcio 3e8a24d0da
Display CPU and GPU model name in the editor visual profiler
This shows the information from the remote device, which will typically
differ from the local device in remote debugging scenarios.
2024-11-11 19:51:54 +01:00
yahkr 9625fdc1d7 Fix float value used for MONITOR_TYPE_QUANTITY 2024-11-11 08:33:47 -05:00
Haoyu Qiu 09b6466e14 Translate the name of the debugger session tabs 2024-11-11 15:54:11 +08:00
Thaddeus Crews f3294e59e1
Merge pull request #98891 from Faless/debugger/game_view_settings
[Debugger] Better settings configuration for RuntimeNodeSelect and Window quit
2024-11-10 12:12:46 -06:00
Fabio Alessandrelli 7cd850b909 [Debugger] Move quit shortcut configuration to the SceneDebugger 2024-11-07 15:03:17 +01:00
Michael Alexsander 81cb7658f8
Reload cached resources in runtime on file reimport 2024-11-05 10:51:20 -03:00
Michael Alexsander 16524a8a01
Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
Thaddeus Crews 696ca9db3c
Merge pull request #98039 from aaronfranke/button-icon
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
Thaddeus Crews b7a0971ad2
Merge pull request #97934 from adamscott/give-AThousandShips-a-break
[Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
2024-10-29 19:25:36 -05:00
Aaron Franke 562c666e3d
Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
yds e6eeaf28df Add editor setting to stop the bottom panel from switching to the stack trace 2024-10-29 19:50:13 -03:00
Thaddeus Crews a2e3473532
Merge pull request #98378 from dalexeev/doc-clarify-engine-debugger
Clarify `EngineDebugger` and `EditorDebugger*` documentation
2024-10-25 13:04:04 -05:00
Adam Scott 0d350e7108
Set clang-format `RemoveSemicolon` rule to `true`
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Danil Alexeev be41e6f84e
Clarify `EngineDebugger` and `EditorDebugger*` documentation 2024-10-21 11:36:59 +03:00
Yevhen Babiichuk (DustDFG) af6d260c17 Don't include `core/io/image.h` in `core/os/os.h`
`core/os/os.h` doesn't use `core/io/image.h`. It just brings
transitive dependencies. Lots of dependencies because `core/os/os.h`
is transitively included in almost every file of godot

Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h`
were used to prevent obscure errors involving `Ref<Image>`

^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by
corresponding .h file with the same name

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-18 19:04:19 +03:00
Clay John 1435247de0
Merge pull request #98222 from timothyqiu/media-control-rtl
Don't flip playback control buttons in RTL layout
2024-10-17 16:58:23 -07:00
Haoyu Qiu 9ed655d0eb Don't flip playback control buttons in RTL layout 2024-10-16 16:28:11 +08:00
Bogdan Inculet fb58ea6c89 Fixed Remote Nodes missing custom icons 2024-10-15 22:28:53 +03:00
Ricardo Subtil 9dd7a8ae42 Bump DAP requests timeout to 5 seconds 2024-10-03 21:57:24 +01:00
Ricardo Subtil 0d098d3cca Support REPL expressions through DAP `evaluate` request 2024-10-03 21:28:38 +01:00
Ricardo Subtil 6aac039ee7 Support object inspection through DAP `variables` request 2024-10-03 21:28:38 +01:00
Rémi Verschelde 79804a8e77
Merge pull request #97647 from KoBeWi/yearly_REPL_pull_request
Add expression evaluater to debugger (REPL)
2024-10-01 17:31:31 +02:00
kobewi 645abdbb80 Add expression evaluater to debugger (REPL)
Co-authored-by: rohanrhu <rohanrhu2@gmail.com>
2024-10-01 15:36:09 +02:00
Haoyu Qiu 6516ca6b11 Parse fragment from URL 2024-09-27 19:42:30 +08:00
Thaddeus Crews 9f9ee0c813
SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
Rémi Verschelde 97843116f6
Merge pull request #96759 from Geometror/implement-autostart-profilers
Implement autostart for all profilers
2024-09-13 11:21:54 +02:00
A Thousand Ships dd6443193c
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +02:00
Hendrik Brucker c53fd9c7be Implement Autostart Feature for Profiler / Visual Profiler / Network Profiler
Co-authored-by: stmSi <stm1998sithumyo@gmail.com>
2024-09-10 19:40:42 +02:00
Daniel Kinsman 5e04f0760a Add target fps editor setting to visual profiler
Use same max fps as project setting

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-09-04 09:47:26 +10:00
Rémi Verschelde 13a90e938f
Merge pull request #70096 from rune-scape/stringname-dict
StringName Dictionary keys
2024-09-03 17:38:06 +02:00
Rémi Verschelde 5a374548fa
Merge pull request #94263 from Arnklit/collapse_expand_remote_scene_view
Add Expand/Collapse Branch right click option to remote scene view
2024-09-03 16:13:41 +02:00
rune-scape 154049ce17 StringName Dictionary keys
also added 'is_string()' method to Variant
and refactored many String type comparisons to use it instead
2024-08-29 13:39:27 -07:00
kobewi ad7a2d19a6 Expose EditorUndoRedoManager's clear_history() 2024-08-29 19:23:39 +02:00
Adam Scott dfe7ef7964
Fix weird plural public method names 2024-08-27 13:37:37 -04:00
Kasper Frandsen 5ad7cd33bd Add collapse/expand right click option to remote scene view 2024-07-12 14:33:34 +01:00
bruvzg b5e3238109
[TextServer] Fix get_word_breaks and it uses. 2024-06-21 14:56:57 +03:00
A Thousand Ships fbb879debd
[Scene] Add `SceneStringNames::text/value_changed` 2024-06-19 09:44:38 +02:00
A Thousand Ships d9e2fc74c7
[Scene] Add `SceneStringNames::item_selected` 2024-06-19 09:39:05 +02:00
A Thousand Ships d519715d94
[Scene] Add `SceneStringNames::font(_size/_color)` 2024-06-18 17:24:27 +02:00
Rémi Verschelde 41e762ca29
Merge pull request #91454 from akien-mga/coverity-checks
Fix Steam input "crc" errors, and some other Coverity reports of uninitialized scalar variable
2024-06-03 10:35:38 +02:00
Rémi Verschelde 62120c7841
Fix Steam input "crc" errors, and some other Coverity reports of uninitialized scalar variable
- Fixes #88630.
- Fixes #92578.
2024-05-31 09:55:02 +02:00
A Thousand Ships 926afccbd8
[Scene] Add `SceneStringNames::panel` 2024-05-30 22:54:50 +02:00
A Thousand Ships 755a0efbb6
[Scene] Add `SceneStringNames::id_pressed` 2024-05-30 22:54:04 +02:00
Rémi Verschelde cd8bd0380d
Merge pull request #92336 from van800/DAP
[DAP] Add `--dap-port` as a command line argument
2024-05-30 22:13:42 +02:00
Ivan Shakhov 77b9e60303 [DAP] Add --dap-port as a command line argument, very similar to --lsp-port 2024-05-30 21:46:37 +02:00
Rémi Verschelde c42751cae2
Merge pull request #91033 from Hilderin/keep_current_bottom_panel_on_play
Add editor setting to keep bottom panel state on play and stop game
2024-05-29 22:13:45 +02:00
Hilderin 76205d4276 Add editor setting to keep bottom panel state on play and stop game 2024-05-29 05:45:17 -04:00
Rémi Verschelde 7d772e713c
Merge pull request #92389 from ckaiser/light-mode-profiler
Fix profiler seek line color in light modes, update on theme change
2024-05-28 15:49:51 +02:00
Christian Kaiser cd43627078 Fix profiler seek line color in light modes, update on theme change 2024-05-26 14:27:52 -03:00
Daylily-Zeleen b941459719 Limit icon size in EditorDebuggerTree. 2024-05-25 14:13:13 +08:00
A Thousand Ships ee79386f7b
[Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
Rémi Verschelde 2f1aaca167
Merge pull request #91927 from timothyqiu/monitor-names
Make performance monitor names translatable
2024-05-14 12:07:14 +02:00
Haoyu Qiu d33e79f299 Make performance monitor names translatable 2024-05-14 10:05:32 +08:00