summaryrefslogtreecommitdiff
path: root/editor/debugger
AgeCommit message (Collapse)Author
2022-06-20Clean up Hash Functionsreduz
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better)
2022-06-16Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg
TextServer.
2022-06-12Merge pull request #61736 from KoBeWi/final_form_of_the_fixFabio Alessandrelli
Fix Debugger tab not updating when clearing errors
2022-06-08i18n: Misc fixes translation stringsRémi Verschelde
Adds some translator comments to solve some questions raised on Weblate.
2022-06-06Fix Debugger tab not updating when clearing errorskobewi
2022-06-03Merge pull request #61481 from Calinou/profiler-increase-frame-historyFabio Alessandrelli
Increase the editor profiler frame history default and maximum limit
2022-05-28Use consistent casing in editor filter/search barsFireForge
2022-05-28Increase the editor profiler frame history default and maximum limitHugo Locurcio
The new default value (1800) allows storing 30 seconds of profiling at 60 FPS. The new maximum value (10000) allows storing about 3 minutes of profiling at 60 FPS. The profiler graph will scale accordingly to the chosen setting, so the default value is kept relatively low to prevent the graph from looking too squished on narrow displays.
2022-05-21Add the button pressed to some signals in Treetrollodel
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-12Add a new HashMap implementationreduz
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
2022-05-05Rename profiler "Idle Time" to "Process Time"Hugo Locurcio
References to "idle time" are progressively being replaced by "process time" throughout the engine to avoid confusion.
2022-05-03Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-04-29Rename Basis "elements" to "rows"Aaron Franke
2022-04-29Rename Transform2D "elements" to "columns"Aaron Franke
2022-04-25Merge pull request #60490 from aaronfranke/dap-typoRémi Verschelde
2022-04-24Add an external link editor iconHugo Locurcio
This replaces the existing "chainlink" instance icon that was used for external links. That icon is still used for scene instancing. The icon was designed by redlamp. Co-authored-by: Taylor Wright <taylor@redlamp.org>
2022-04-24Fix type name typo in Debug Adapter ProtocolAaron Franke
2022-04-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-03-30Merge pull request #58395 from Geometror/editor-node-data-cleanupRémi Verschelde
2022-03-30Cleanup EditorNode and EditorDataHendrik Brucker
Co-authored-by: Eric M <itsjusteza@gmail.com>
2022-03-29Capitalize names in the debuggerFireForge
2022-03-28Add property name style toggle to InspectorHaoyu Qiu
2022-03-18Merge pull request #58233 from bruvzg/gde_tsRémi Verschelde
2022-03-17Make `TabBar/Container` default their alignments to the left instead of centerMichael Alexsander
2022-03-17Unify TextServer built-in module and GDExtension code.bruvzg
2022-03-15More icon updates on theme changeHaoyu Qiu
2022-03-15Merge pull request #45263 from KoBeWi/😕Rémi Verschelde
2022-03-10Merge pull request #58735 from ↵Fabio Alessandrelli
Calinou/editor-visual-profiler-tweak-frame-time-label Tweak editor visual profiler frame time label for consistency
2022-03-09Remove VARIANT_ARG* macrosreduz
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09Change some math macros to constexprkobewi
Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`.
2022-03-06Remove duplicate editor settings definitionskobewi
2022-03-04Merge pull request #58687 from YeldhamDev/the_beast_has_been_slainRémi Verschelde
2022-03-04Merge pull request #58741 from ↵Rémi Verschelde
Calinou/editor-visual-profiler-fix-light-font-color Fix font color in the editor visual profiler when using light theme
2022-03-04Merge pull request #58670 from KoBeWi/internal_debuggerRémi Verschelde
2022-03-04Fix font color in the editor visual profiler when using light themeHugo Locurcio
Previously, white text would be drawn on a white background.
2022-03-04Tweak editor visual profiler frame time label for consistencyHugo Locurcio
This is consistent with the general profiler's frame time label.
2022-03-04Use the editor background color for the visual profiler graphHugo Locurcio
This was already done for the general profiler.
2022-03-03Make `TabContainer` use `TabBar` internallyMichael Alexsander
2022-03-02Fix debugger not opening built-in scriptskobewi
2022-02-16Merge pull request #58182 from akien-mga/style-cleanup-if-semicolons-deadcodeRémi Verschelde
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-16Port existing _notification code to use switch statements (part 1/3)jmb462
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
2022-02-14Remove most EditorNode constructor parameters and fieldstrollodel