Thaddeus Crews
780cf03051
Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
...
Use `append_` instead of `parse_` for `String` methods.
2025-03-29 10:16:33 -05:00
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
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Rémi Verschelde
a9a1d0a162
Merge pull request #91619 from AThousandShips/find_improve
...
Replace `find` with `contains/has` where applicable
2024-05-08 14:35:44 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive `String::containsn`
2024-05-08 12:48:01 +02:00
A Thousand Ships
a0dbdcc3ab
Replace `find` with `contains/has` where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Rémi Verschelde
ba6f840970
Merge pull request #89248 from KoBeWi/store_no_store
...
Don't store values when loading them
2024-05-07 16:49:26 +02:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to `List`
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
K. S. Ernest (iFire) Lee
f9b488508c
Add PackedVector4Array Variant type
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
Rémi Verschelde
d680b9b9da
DAP: Fix typo in parsing of PackedVector3Array
2024-05-02 18:11:38 +02:00
Aaron Franke
1bcbbe96c4
Organize existing code for editor plugins
2024-04-27 11:59:58 -07:00
Mikael Hermansson
a057158d75
Revert pack trimming introduced by #82084
2024-04-10 12:00:04 +02:00
Michael Alexsander
ed1fa9bedf
Fix debugger tree error on editor start
2024-03-29 13:44:49 -03:00
Haoyu Qiu
f298aaa956
Fix unexpected auto-translation of more editor components
2024-03-28 10:50:57 +08:00
Rémi Verschelde
bec4de9237
Merge pull request #86143 from YeldhamDev/ttr_here,_rtr_there
...
Stop using `RTR()` inside the "editor" folder
2024-03-26 13:44:47 +01:00
Haoyu Qiu
8cd1ebbd6d
Fix unexpected auto translation of Tree content
2024-03-18 09:31:00 +08:00
Rémi Verschelde
633024617b
Merge pull request #89475 from rsubtil/feature-add_message_type_to_dap
...
Add output type to DAP `output` events
2024-03-14 22:35:25 +01:00
Ricardo Subtil
b6d1204186
Add output type to DAP `output` events
2024-03-14 14:34:14 +00:00
kobewi
4e88fb87b6
Don't store values when loading them
2024-03-07 15:01:12 +01:00
David Nikdel
5e6adb4a2d
Merge uid_cache.bin and global_script_class_cache.cfg after mounting PCKs
...
fixes godotengine#82061
fixes godotengine#61556
Also, distinguish between main pack and DLC packs.
It's desirable to downloaded content to be as small as possible. This change avoids bloating non-main pack files with new versions of resources that are all read on startup and never used again. They have no effect if loaded after startup.
- project.godot/project.binary file
- extension_list.cfg
- app icon and boot_splash
- .ico and .icns files (these can still be opted in for DLC by listing them explicitly in the include filter)
2024-03-06 12:14:21 -05:00
Ricardo Subtil
c07991ef36
Add missing `variablesReference` field to DAP `evaluate` request
2024-03-03 11:22:01 +00:00
Rémi Verschelde
1e950dea5a
Merge pull request #86398 from reach-satori/prof-visibility-fix
...
Fix internal profiling button being visible when disabled in settings
2024-03-01 14:56:02 +01:00
Michael Alexsander
c7fb8579fe
Stop using `RTR()` inside the "editor" folder
2024-02-27 16:03:28 -03:00
Muller-Castro
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
kit
eb6ca91ba6
Extract BottomPanel from EditorNode
2024-02-20 15:09:07 -05:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
Rémi Verschelde
294137c931
Merge pull request #87661 from baptr/profiler_sort
...
Fix editor profiler script function sort order
2024-02-19 00:07:47 +01:00
Per Melin
27dc9fa4c0
Fix frame number underflow in visual profiler
...
Unsigned subtraction underflow caused the frame counter to be locked at
2^64 in the visual profiler until debugger/profiler_frame_history_size
number of frames had passed.
2024-02-15 14:33:47 +01:00
A Thousand Ships
684752e75b
Replace error checks against `size` with `is_empty`
2024-02-09 12:50:15 +01:00
baptr
90a5f23e79
Fix editor profiler script function sort order
...
The engine internally limits the number of functions reported back (to
16 by default). To this point, it's been sort the profiling info in
*ascending* order of time spent, then trimming the list. This meant
we may only see the best (fastest) functions, instead of the worst
that you probably want when profiling.
Now the servers_debugger sort more closely matches the local_debugger
one, which worked fine.
2024-01-27 17:12:27 -08:00
Rémi Verschelde
33f3511241
Merge pull request #87293 from YuriSizov/editor-theme-a-rehashed-follow-up
...
Improve editor theme generation after the refactor
2024-01-18 16:34:50 +01:00
Yuri Sizov
c027aecc2e
Merge pull request #86676 from rune-scape/sparse-script-reload
...
GDScript: Hot-reload changed scripts only
2024-01-17 18:52:54 +01:00
Yuri Sizov
45eedba1fa
Improve editor theme generation after the refactor
2024-01-17 15:16:53 +01:00
Yuri Sizov
95b27fe8c7
Reorganize code related to editor theming
...
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.
Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.
All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Rémi Verschelde
4baa634937
Merge pull request #84895 from rsubtil/fix_dap_race_condition
...
Prevent race condition on initial breakpoints from DAP
2024-01-09 15:30:44 +01:00
Rémi Verschelde
6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
...
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00
rune-scape
cde478bda6
Hot-reload only changed scripts
2024-01-02 17:56:52 -08:00
Mateus Reis
105723b725
Fix internal profiling button being visible when disabled
2023-12-21 18:25:33 +02:00
msreis
f1cc14d525
Fix missing time for some script functions in profiler
...
Fixes the issue by adding a mechanism by which the functions that were
previously disappearing can be profiled too. This is optional with
an editor setting, since collecting more information naturally slows the engine
further while profiling.
Fixes #23715 , #40251 , #29049
2023-12-19 19:42:21 +01:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
Ricardo Subtil
485342408b
Prevent race condition on initial breakpoints from DAP
2023-11-14 15:56:03 +00:00
Rémi Verschelde
c2d410a19e
Merge pull request #82868 from SaracenOne/multi_session_debugger_fixes
...
Fix debugger behaviour with multi-session debugging
2023-10-16 10:38:58 +02:00
Saracen
3700ce7318
Fix right-click menu position for the debugger breakpoint tree.
2023-10-06 19:47:19 +01:00
Saracen
3defc17646
Fix debugger behaviour with multi-session debugging:
...
Fixes script editor debug menu on sessions other than 1
Fixes breakpoint toggle from menu in sessions other than 1
Removes execution display when switching to non-breaked sessions
2023-10-06 19:20:37 +01:00
Yuri Sizov
4bd569be95
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-19 22:36:29 +02:00
A Thousand Ships
75ee58fd04
[Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-15 20:15:39 +02:00
Yuri Sizov
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
Yuri Sizov
d8ff69d53c
Extract ScriptInstance to simplify includes
...
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.
This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
2023-09-06 22:54:38 +02:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Yuri Sizov
2445414aa0
Avoid unnecessary inspector updates when loading or switching scenes
...
This should result in some noticeable performance improvements,
aside from fixing bugs due to conflicts in logic.
This also simplifies some related code identified while debugging.
2023-08-12 13:32:59 +02:00