Commit Graph

367 Commits

Author SHA1 Message Date
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