Michael Alexsander
1bfcb6ee65
Set `doc_name` even when categories are hidden in the inspector
...
Otherwise, tooltips will fail to fetch descriptions.
2024-05-28 15:44:22 -03:00
A Thousand Ships
4ed62665a2
Replace `.bind(...).call_deferred()` with `.call_deferred(...)`
2024-05-27 13:29:57 +02:00
Rémi Verschelde
6761923f4f
Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues
...
GDScript: Fix some export annotation issues
2024-05-19 11:21:00 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
Rémi Verschelde
3c26cddcfa
Merge pull request #91932 from dalexeev/editor-fix-tileset-categories-and-tooltips
...
Editor: Fix categories and tooltips in `TileSet` editor
2024-05-14 12:07:27 +02:00
Danil Alexeev
5a5b18c2fc
Editor: Fix categories and tooltips in `TileSet` editor
2024-05-14 10:23:14 +03:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Danil Alexeev
76b2d85c9f
GDScript: Fix some export annotation issues
2024-05-13 17:49:06 +03:00
Danil Alexeev
18fca3c294
Editor: Fix `EditorHelpBitTooltip` + `ProgressDialog` causes crash
2024-05-08 17:39:33 +03: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
kobewi
3a1246c198
Store line change in script navigation history
2024-04-25 23:22:47 +02:00
Danil Alexeev
a714cb9f65
Editor: Display deprecated/experimental messages in tooltips
2024-04-18 14:32:04 +03:00
Rémi Verschelde
9b0b7afe28
Merge pull request #90035 from KoBeWi/SUPER_CALL_DEFERRED
...
Fix scroll to description
2024-04-14 14:39:07 +02:00
Rémi Verschelde
b091162a90
Merge pull request #90488 from dalexeev/editor-fix-enum-detect-unnamed-classes
...
Editor: Fix enum detection for unnamed classes
2024-04-10 17:49:59 +02:00
Danil Alexeev
fc6c1d6363
Editor: Fix enum detection for unnamed classes
2024-04-10 16:10:55 +03:00
Rémi Verschelde
22299f83f1
Merge pull request #89704 from dalexeev/editor-help-fix-text-color
...
Editor: Fix text color in `EditorHelpHighlighter`
2024-04-10 14:21:51 +02:00
A Thousand Ships
23782b898b
Add further details on properties returning `Packed*Array`
2024-04-08 11:35:27 +02:00
kobewi
5a8066bd50
Fix scroll to description
2024-03-31 14:30:33 +02:00
Danil Alexeev
eab05558c4
Fix regression with C# build editor crash due to `EditorHelpHighlighter`
2024-03-24 21:26:18 +03:00
Danil Alexeev
e6dafb1020
Editor: Fix text color in `EditorHelpHighlighter`
2024-03-20 09:40:45 +03:00
Rémi Verschelde
7d6ae138fa
Merge pull request #89332 from Riteo/werror-never-changes
...
Fix compiler warning when highlighting codeblocks in editor help
2024-03-09 22:20:19 +01:00
Riteo
4f61d42a00
Fix compiler warning when highlighting codeblocks in editor help
...
It's more verbose but it should do the trick.
2024-03-09 22:00:35 +01:00
Micky
3a0d056180
Use META_UNDERLINE_ON_HOVER in built-in class reference
2024-03-09 13:22:59 +01:00
Danil Alexeev
87718d2a6e
Editor Help: Add syntax highlighting for code blocks
2024-03-09 00:02:31 +03:00
Rémi Verschelde
0fefbe85fb
Merge pull request #89086 from Mickeon/documentation-ProjectSettings-members-display-nice
...
Improve how Project & Editor Settings look in built-in docs
2024-03-07 15:23:54 +01:00
Micky
f739f78871
Add copy codeblock button to built-in documentation
2024-03-04 20:07:46 +01:00
Micky
8e1024530c
Improve how Project & Editor Settings look in built-in docs
2024-03-04 18:12:28 +01:00
Micky
9d3768d2d7
Replace built-in docs codeblock's leading spaces with tabs
...
Replace built-in docs codeblock's leading spaces with tabs
2024-02-29 17:18:41 +01:00
Yuri Rubinsky
f7c3c9f987
Remove redundant space after enum/flags word in editor docs
2024-02-27 17:09:55 +03:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
Danil Alexeev
12c86c6716
Documentation: Treat deprecated/experimental members as documented
2024-02-16 17:15:33 +03:00
Danil Alexeev
af28f87791
Documentation: Add support for deprecated/experimental messages
2024-02-15 15:59:50 +03:00
Rémi Verschelde
391a8e5327
Merge pull request #85868 from KoBeWi/knowyourtiles
...
Add descriptions for tile properties
2024-02-13 11:24:42 +01:00
Micky
fbc584d4f2
Add color in built-in documentation for overridden properties
2024-02-11 17:30:54 +01:00
Rémi Verschelde
b1d135ccb9
Merge pull request #84396 from quirkylemon/hide-private-enums
...
Hide private enums from documentation
2024-02-09 12:13:34 +01:00
QuirkyLemon
a5a8f0a881
Hide private enums from documentation
2024-02-08 08:10:43 -06:00
Rémi Verschelde
fa48a51183
Merge pull request #87688 from AThousandShips/what_is_this
...
Remove unnecessary `this->` expressions
2024-01-29 13:18:09 +01:00
Rémi Verschelde
061c776228
Merge pull request #87381 from YuriSizov/core-sneaky-properties
...
Better hide internal properties from users
2024-01-29 13:16:55 +01:00
Yuri Sizov
d644b9b640
Better hide internal properties from users
2024-01-29 12:35:10 +01:00
A Thousand Ships
15369fdb1d
Remove unnecessary `this->` expressions
2024-01-29 09:59:18 +01:00
Riteo
f468e59efd
GDExtension: add an interface for loading extra documentation
...
Adds two new GDExtension interface methods:
- `editor_help_load_xml_from_utf8_chars`
- `editor_help_load_xml_from_utf8_chars_and_len`
Both of these methods parse the XML passed into an extra documentation
container which, when needed, is merged into the main doc container.
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2024-01-26 13:53:33 +01:00
A Thousand Ships
dc86483e3a
Add inheriting classes to `DocTools`
2024-01-16 14:42:36 +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
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
Yuri Sizov
fc3f40f37d
Improve engine startup/shutdown benchmarks
...
- Add contexts to give a better sense of benchmarked areas.
- Add missing benchmarks and adjust some begin/end points.
- Clean up names.
- Improve Android's internal benchmarks in a similar manner.
Co-authored-by: Fredia Huya-Kouadio <fhuya@meta.com>
2023-12-08 12:53:04 +01:00
kobewi
6e31c413b6
Add descriptions for tile properties
2023-12-07 16:57:34 +01:00
Pedro J. Estébanez
a1d8fc1af9
Polish & fix editor help cache generation
...
- Isolated the generation of extensions's docs. They're now not cached and refreshed as needed.
- Removed superfluous sorting of the class list.
- Removed some superfluous/unused elements.
- Renamed some items for clarity.
2023-11-02 13:46:37 +01:00
Yuri Sizov
9b03fb36f9
Improve threading in ClassDB and EditorHelp
2023-10-20 22:14:04 +02:00
Yuri Sizov
215e036600
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-19 18:14:14 +02:00
Danil Alexeev
f56532c577
Editor: Fix some issues with `EditorHelpTooltip`
2023-10-10 20:02:47 +03:00
Hugo Locurcio
eb824dc6a5
Tweak metadata property tooltip to avoid being misleading
2023-10-07 03:08:16 +02:00
Rémi Verschelde
b9bf46de9e
Merge pull request #82067 from dalexeev/gds-docgen-fix-metatypes-and-values
...
GDScript DocGen: Fix and improve appearance of metatypes and values
2023-10-05 10:07:43 +02:00
Rémi Verschelde
1e544505be
Merge pull request #82691 from YuriSizov/rst-validate-with-exceptions
...
Validate `code` tags for class and member references
2023-10-04 15:42:42 +02:00
Michael Alexsander
ae91644c73
Revamp how documentation tooltips work
2023-10-03 17:40:51 -03:00
Yuri Sizov
cc0eebd9d8
Validate `code` tags for class and member references
...
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.
Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00
bruvzg
bc6585a5a7
[RTL] Add support for image dynamic updating, padding, tooltips and size in percent.
2023-09-26 09:39:51 +03:00
Danil Alexeev
426ccba70e
GDScript DocGen: Fix and improve appearance of metatypes and values
2023-09-21 20:44:34 +03:00
Yuri Sizov
3a585a6bcf
Merge pull request #81346 from timothyqiu/interning
...
Avoid text substitution in EditorHelp messages
2023-09-06 14:49:37 +02:00
Haoyu Qiu
e350034251
Avoid text substitution in EditorHelp messages
2023-09-05 23:15:34 +08:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
MewPurPur
398ca4e71a
Use the gray color for all abstract classes
2023-08-31 12:59:18 +03:00
Yuri Sizov
41efc7cb86
Merge pull request #78941 from dalexeev/gds-doc-comments-deprecated-and-experimental
...
GDScript: Add `@deprecated` and `@experimental` doc comment tags
2023-07-31 21:01:08 +02:00
Yuri Sizov
92960b7a22
Merge pull request #78615 from RandomShaper/fix_doc_cache
...
Re-enable docs cache with fixes
2023-07-26 18:39:22 +02:00
Yuri Sizov
0231611ee0
Merge pull request #79206 from raulsntos/doc-mention-csharp-differences
...
Add a warning about C# differences in classref doc
2023-07-14 18:49:36 +02:00
Yuri Sizov
22b4861d7b
Merge pull request #78649 from MewPurPur/dont-link-to-own-page
...
Tweak documentation to use bold font when a class is referencing itself
2023-07-12 17:16:47 +02:00
Yuri Sizov
5dff3c4484
Merge pull request #78538 from Sauermann/fix-code-simplifications
...
Remove unnecessary value assignments throughout the codebase
2023-07-12 15:09:26 +02:00
Raul Santos
a164e3e7b3
Add a note about C# differences in classref doc
2023-07-09 01:44:48 +02:00
Danil Alexeev
c1b450566a
GDScript: Add `@deprecated` and `@experimental` doc comment tags
2023-07-08 18:13:19 +03:00
Pedro J. Estébanez
cac4d44cde
Re-enable docs cache with fixes
2023-07-05 10:44:58 +02:00
ocean (they/them)
d48636c3bf
Fix regression with enum descriptions now showing up in documentation.
2023-07-02 11:29:52 -04:00
Danil Alexeev
da4590b3f1
Unexpose `DocCache` class
2023-06-24 22:24:54 +03:00
MewPurPur
0786876077
Tweak documentation to use bold font when a class is referencing itself
2023-06-24 18:09:31 +02:00
Pedro J. Estébanez
7afb9dd275
Disable doc cache temporarily for pre-RC stabilization
2023-06-23 16:40:40 +02:00
Markus Sauermann
890fdd56df
Code simplifications
...
CPPcheck found most of them.
no need to assign the variable twice:
- AnimationTrackEditTypeAudio
- SSEffects
variable is assigned in all if-else clauses:
- EditorHelp
- AndroidInputHandler
- MenuBar
- ShaderCompiler
same if clause:
- ItemList
clearing an empty bitfield has no effect:
- Viewport
2023-06-21 22:37:26 +02:00
Danil Alexeev
eb391d3302
Display `BitField[Enum]` in docs to distinguish from `Enum`
2023-06-15 17:23:02 +03:00
Pedro J. Estébanez
f9836fed72
Use right type in the binding of DocCache::classes
2023-06-02 22:03:21 +02:00
RedworkDE
67e8c57f03
Invalidate the DocCache when updating the xml docs
2023-05-28 17:08:27 +02:00
Fredia Huya-Kouadio
831b4a5366
Improve startup benchmarking
...
Move the benchmarking measuring methods from `Engine` to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
2023-05-23 13:22:35 -07:00
Arman Elgudzhyan
8ab2cf3d2d
Use defined key mapping for closing popups and dialogs
...
As opposed to hardcoding the escape key. Also removed such hardcoding in a few other places as well as a hardcoded enter key in one of the affected input fields.
2023-05-20 17:39:59 -07:00
Rémi Verschelde
716f788b98
Merge pull request #77033 from dalexeev/editor-help-fix-array-links
...
EditorHelp: Fix displaying typed `Array` links
2023-05-15 09:34:35 +02:00
Alex Drozd
28f391f301
Exclude overriden properties from Property Descriptions section
2023-05-14 17:41:14 +02:00
Danil Alexeev
a16b2fc3b6
EditorHelp: Fix displaying typed `Array` links
2023-05-13 16:09:35 +03:00
Rémi Verschelde
012e2b7411
Merge pull request #76539 from anvilfolk/gddocsreg
...
Fix wrongly removing prefix when generating in-editor documentation
2023-04-28 17:08:05 +02:00
ocean (they/them)
6f8113721d
Fix wrongly removing prefix when generating in-editor documentation
...
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-04-28 07:38:36 -04:00
Samuele Panzeri
4aaa2e6477
Fix wait for thread not started
2023-04-27 20:28:22 +02:00
Yuri Sizov
26fb911f79
Merge pull request #72095 from anvilfolk/gd-docs
...
Improve GDScript documentation generation & behavior
2023-04-26 16:54:25 +02:00
Pedro J. Estébanez
e1ce0340b7
Improve reliability of editor docs cache
2023-04-25 11:40:56 +02:00
ocean (they/them)
6783ff69c0
Improve and fix GDScript documentation generation & behavior
...
Removes documentation generation (docgen) from the GDScript compiler to
its own file. Adds support for GDScript enums and signal parameters and
quite a few other assorted fixes and improvements.
2023-04-21 10:17:30 -04:00
kobewi
15442b54a8
Fix EditorHelp failing to load
2023-04-21 01:25:47 +02:00
RedworkDE
692ad70fd7
C#: Do not use DocCache when generating glue code
2023-04-20 15:35:14 +02:00
Pedro J. Estébanez
f5602869da
Cache classes editor help
2023-04-13 12:16:47 +02:00
Yuri Sizov
1522762dc9
Make icons of scripted and custom classes fit the editor UI
...
Also:
- Add an option to limit the icon size in PopupMenu.
This is similar to how this works in Tree and TreeItem.
- Add the same option to TabBar.
- Add a theme constant for Tree, PopupMenu, Button, and
TabBar to apply this limit on the control level.
Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
2023-03-31 21:39:02 +02:00
Yuri Sizov
9fae65404a
Streamline class icon resolution in the editor
2023-03-31 21:17:59 +02:00
Danil Alexeev
06c7940a5a
Enable `RichTextLabel` context menu if selection is enabled
2023-03-06 13:18:36 +03:00
Rémi Verschelde
bfe43f69b8
Merge pull request #67707 from Cykyrios/hide-private-prop-description-in-classdoc
...
Fix private properties appearing in custom class doc Property Descriptions
2023-02-14 11:03:50 +01:00
Yuri Sizov
0eb3b49c39
Make EditorHelp respect font size settings
2023-02-11 20:09:57 +01:00
Yuri Sizov
bbbcd77217
Make use of a theme cache in EditorHelp and ensure it's updated
...
- Migrates the existing cache to the standard theme cache struct
- Moves some parts of the codebase to use cache instead of ad-hoc fetching
- Adds hooks to editor settings previously missing from theme regeneration
2023-02-11 20:09:35 +01:00
Rémi Verschelde
b342dcdf04
Remove some unused signals
...
Part of #37604 .
2023-01-31 18:54:04 +01:00
Rémi Verschelde
fd66a86d72
Merge pull request #71330 from Geometror/richtextlabel-fit-content
...
[RichTextLabel] Match minimum size calculation of Label (proper content fitting)
2023-01-25 09:16:38 +01:00