summaryrefslogtreecommitdiffstats
path: root/editor/editor_help.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #67707 from ↵Rémi Verschelde2023-02-141-0/+4
|\ | | | | | | | | | | Cykyrios/hide-private-prop-description-in-classdoc Fix private properties appearing in custom class doc Property Descriptions
| * Fix private properties appearing in class doc Property DescriptionsCykyrios2022-10-211-0/+4
| |
* | Make EditorHelp respect font size settingsYuri Sizov2023-02-111-158/+192
| |
* | Make use of a theme cache in EditorHelp and ensure it's updatedYuri Sizov2023-02-111-188/+192
| | | | | | | | | | | | - 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
* | Remove some unused signalsRémi Verschelde2023-01-311-4/+0
| | | | | | | | Part of #37604.
* | Merge pull request #71330 from Geometror/richtextlabel-fit-contentRémi Verschelde2023-01-251-1/+1
|\ \ | | | | | | | | | [RichTextLabel] Match minimum size calculation of Label (proper content fitting)
| * | [RichTextLabel] Match minimum size calculation of LabelHendrik Brucker2023-01-131-1/+1
| | | | | | | | | | | | (optional via fit_content property)
* | | Clean-up, harmonize, and improve StyleBox APIYuri Sizov2023-01-191-2/+2
| | | | | | | | | | | | | | | | | | - Make all margin properties follow the same naming convention (their getter and setter too). - Remove a virtual counterpart of `get_style_margin` from API. - Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
* | | Update all outdated online documentation linksYuri Sizov2023-01-141-1/+1
|/ /
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* | Fix left-aligned EditorHelp when first openedMicky2022-12-091-3/+2
| |
* | Use forward-declarations in big editor classestrollodel2022-11-291-0/+1
| |
* | Merge pull request #68904 from aaronfranke/texture-methodsRémi Verschelde2022-11-201-4/+4
|\ \ | | | | | | | | | Rename TextureButton set_*_texture methods to set_texture_*
| * | Rename TextureButton set_*_texture methods to set_texture_*Aaron Franke2022-11-191-4/+4
| | |
* | | Double precision of `String.split_floats`Micky2022-11-201-1/+1
|/ /
* | Add more call-to-action notes when documentation is missingYuri Sizov2022-11-171-17/+33
| |
* | Merge pull request #68159 from Mickeon/doc-help-return-arrayRémi Verschelde2022-11-151-13/+23
|\ \ | | | | | | | | | Change docs' Typed Array & void representation
| * | Change docs' Typed Array & void representationMicky2022-11-151-13/+23
| | | | | | | | | | | | | | | Typed Arrays now look the same as to how they're defined in GDScript. Also modifies "void" to be darkened and show a tooltip.
* | | Merge pull request #68132 from Mickeon/doc-help-colourfulRémi Verschelde2022-11-141-20/+39
|\ \ \ | | | | | | | | | | | | Improve Editor Documentation colors
| * | | Improve Editor Documentation colorsMicky2022-11-011-20/+39
| | | |
* | | | Style: Misc docs and comment style and language fixesRémi Verschelde2022-11-021-1/+1
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | - Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
* | | Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde2022-10-311-1/+1
|\ \ \ | | | | | | | | | | | | Unify usage of GLOBAL/EDITOR_GET
| * | | Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-1/+1
| | |/ | |/|
* | | Merge pull request #68079 from Mickeon/doc-help-hintRémi Verschelde2022-10-311-2/+23
|\ \ \ | |_|/ |/| | | | | Add tooltip to method qualifiers in Documentation Help
| * | Add tooltip to method qualifiers in Documentation HelpMicky2022-10-311-2/+23
| |/
* / Remove override_selected_font_color propertykobewi2022-10-261-1/+0
|/
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-9/+8
| | | | change warnings=all to use /W4.
* Add ability to flag classes as experimental or deprecated.SaracenOne2022-09-111-0/+94
|
* Fix theming error in EditorHelp due to order of operations issueYuri Sizov2022-09-061-13/+12
|
* Improve Docs' inheritance tree icons on newlineMicky2022-09-021-2/+4
| | | | Uses a Non-Breaking Space to prevent the icon from detaching from the name on newline, improving the look considerably.
* Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-2/+2
|
* Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde2022-08-291-22/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
* Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde2022-08-281-1/+1
|\ | | | | Rename `hint_tooltip` to `tooltip_text` & setter getter
| * Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-1/+1
| | | | | | | | | | | | | | | | `hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
* | Merge pull request #64847 from Mickeon/editor-docs-hierarchy-iconsRémi Verschelde2022-08-281-11/+26
|\ \ | | | | | | Add type icons to editor docs' hierarchy
| * | Add type icons to editor docs' hierarchyMicky2022-08-251-11/+26
| |/ | | | | | | | | | | The "Inherits" and "Inherited by" section of the docs now display the icon of each Object on the side. Also scales the main class' icon to match title font
* / Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record2022-08-271-29/+22
|/
* Add documentation for all annotationsYuri Sizov2022-08-191-1/+1
|
* Add support for [param foo] syntax in valid documentation contextsYuri Sizov2022-08-081-0/+15
|
* Remove Signal connect bindsJuan Linietsky2022-07-291-1/+1
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Add padding for code blocks in the editor helpHugo Locurcio2022-07-171-0/+1
| | | | | This improves their appearance, making them look closer to code blocks in the online manual.
* Merge pull request #62710 from ↵Rémi Verschelde2022-07-131-6/+37
|\ | | | | | | Calinou/editor-help-improve-code-kbd-ref-highlight
| * Improve visibility of code, kbd and clickable references in editor helpHugo Locurcio2022-07-051-6/+37
| | | | | | | | | | This adds a background color for inline code, code blocks, keyboard shortcuts and clickable references (such as `[member something]`).
* | Merge pull request #62108 from bruvzg/font_config_v3Rémi Verschelde2022-07-071-1/+1
|\ \
| * | Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-1/+1
| | |
* | | Merge pull request #62713 from YuriSizov/docs-scripting-annotationsRémi Verschelde2022-07-061-15/+128
|\ \ \ | |/ / |/| |
| * | Add support for documenting built-in annotationsYuri Sizov2022-07-041-15/+128
| |/
* / Implement a BitField hintreduz2022-07-051-1/+5
|/ | | | Allows to specify the binder that an enum must be treated as a bitfield.
* Fix `help_title_font_size` editor property to correctly apply to docsYuri Rubinsky2022-06-291-25/+55
|
* Merge pull request #60984 from fire-forge/doc-iconRémi Verschelde2022-06-011-0/+11
|\ | | | | Show class icon in the documentation page header