Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Help] Add simulated slanted font support to the editor help. | bruvzg | 2022-03-22 | 1 | -2/+2 |
| | |||||
* | Initialize bools in the headers in editor | Aaron Franke | 2022-03-12 | 1 | -2/+0 |
| | |||||
* | Use vformat() instead of string concatenation inside TTR() | Haoyu Qiu | 2022-03-03 | 1 | -2/+2 |
| | |||||
* | Port existing _notification code to use switch statements (part 1/3) | jmb462 | 2022-02-16 | 1 | -4/+5 |
| | |||||
* | Improve compilation speed (forward declarations/includes cleanup) | Hendrik Brucker | 2022-02-12 | 1 | -3/+3 |
| | |||||
* | Revert "Add missing SNAME macro optimization to all theme methods call" | Rémi Verschelde | 2022-02-08 | 1 | -9/+9 |
| | | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters. | ||||
* | Add missing SNAME macro optimization to all theme methods call | jmb462 | 2022-02-06 | 1 | -9/+9 |
| | |||||
* | Add missing SNAME macro optimization in some function calls | jmb462 | 2022-02-06 | 1 | -13/+13 |
| | |||||
* | Rework TextureButton stretch | kobewi | 2022-02-05 | 1 | -1/+1 |
| | |||||
* | Merge pull request #57562 from AnilBK/string-add-contains | Rémi Verschelde | 2022-02-03 | 1 | -9/+9 |
|\ | | | | | String: Add contains(). | ||||
| * | String: Add contains(). | Anilforextra | 2022-02-04 | 1 | -9/+9 |
| | | |||||
* | | Remove get_focus_owner() from Control, replaced by ↵ | Gilles Roudière | 2022-02-03 | 1 | -1/+1 |
| | | | | | | | | get_viewport()->gui_get_focus_owner() | ||||
* | | EditorHelpBit: Fix content height fit and RTL theme propagation | Rémi Verschelde | 2022-02-02 | 1 | -5/+7 |
|/ | | | | | | | | | | | | This reverts #51619 and fixes the issue properly, as well as enabling `fit_content_height` which is necessary following #57304. Fixes #57174. Also adds a placeholder for property and signal tooltips with no description, factoring the code while at it. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com> | ||||
* | Fix theming of doc background | Yuri Roubinsky | 2022-01-30 | 1 | -5/+5 |
| | |||||
* | [Editor] Do not update editor help theme, if calculated margin hasn't changed. | bruvzg | 2022-01-24 | 1 | -6/+9 |
| | |||||
* | Use a fixed-width font for internal references in the editor help | Hugo Locurcio | 2022-01-21 | 1 | -4/+8 |
| | | | | | Since internal references are often written in scripts, it makes sense to use a fixed-width font for them. | ||||
* | Improve spacing in built-in class reference | Yuri Sizov | 2022-01-18 | 1 | -33/+31 |
| | |||||
* | Generate editor docs on a thread | reduz | 2022-01-07 | 1 | -3/+43 |
| | | | | | | | * The main generation could not be moved to a thread, as it instantiates classes to get default values, interacts with ProjectSettings, etc. * Only uncompressing documentation and merging it is threaded. * Seems to improve editor load times by 0.5 seconds. | ||||
* | Update copyright statements to 2022 | Rémi Verschelde | 2022-01-03 | 1 | -2/+2 |
| | | | | Happy new year to the wonderful Godot community! | ||||
* | Merge pull request #55487 from YeldhamDev/scroll_bikeshedding | Rémi Verschelde | 2022-01-03 | 1 | -2/+2 |
|\ | |||||
| * | Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()` | Michael Alexsander | 2021-11-30 | 1 | -2/+2 |
| | | |||||
* | | Replace String comparisons with "", String() to is_empty() | Nathan Franke | 2021-12-09 | 1 | -32/+32 |
| | | | | | | | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | ||||
* | | align to horizontal_alignment, valign to vertical_alignment, related | Nathan Franke | 2021-12-09 | 1 | -3/+3 |
| | | |||||
* | | Make overridden properties link to parent definition | Yuri Sizov | 2021-12-03 | 1 | -7/+32 |
| | | | | | | | | Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com> | ||||
* | | Sort and group theme properties in docs, improve formatting for theme and enums | Yuri Sizov | 2021-12-01 | 1 | -31/+64 |
|/ | |||||
* | Add [theme_item] tag to editor help | kobewi | 2021-11-18 | 1 | -1/+4 |
| | |||||
* | Allow dehardcoding documentation branch and URL in docs links | Rémi Verschelde | 2021-11-15 | 1 | -1/+2 |
| | | | | | | | | | | | | | | This makes it possible to change the branch of the documentation that URLs are pointing to without having to modify all class reference files. In the XML class reference, the `$DOCS_URL` placeholder should be used, and will be replaced automatically in the editor and when generating the RST class reference. The documentation branch string is set in `version.py`. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro> | ||||
* | Use "enum class" for input enums | Aaron Franke | 2021-11-12 | 1 | -2/+2 |
| | |||||
* | String: Remove `erase` method, bindings can't mutate String | Rémi Verschelde | 2021-11-11 | 1 | -6/+8 |
| | |||||
* | Move the docs for constructors and operators out of methods section | Aaron Franke | 2021-10-29 | 1 | -139/+195 |
| | |||||
* | Fix match counter in help pages not updating | Michael Alexsander | 2021-10-01 | 1 | -1/+1 |
| | |||||
* | Use range iterators for `Map` | Lightning_A | 2021-09-30 | 1 | -9/+9 |
| | |||||
* | Merge pull request #52655 from Chaosus/toggle_scripts_panel | Rémi Verschelde | 2021-09-17 | 1 | -0/+28 |
|\ | |||||
| * | Added status bar and toggle scripts panel button to EditorHelp/VScripts | Yuri Roubinsky | 2021-09-15 | 1 | -0/+28 |
| | | |||||
* | | Remove bbcode_text from RichTextLabel | HaSa1002 | 2021-09-16 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | Also renames: - append_bbcode -> append_text - get_bbcode -> get_text - set_bbcode -> set_text - get_text -> get_parsed_text Property text is: set_text get_text | ||||
* | | Merge pull request #52352 from williamd67/open-help-editor-at-correct-position | Rémi Verschelde | 2021-09-15 | 1 | -3/+3 |
|\ \ | |/ |/| | |||||
| * | Symbol lookup jumps to the correct position in help editor | William Deurwaarder | 2021-09-02 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | Commit `e4651a4` introduced `scroll_to_paragraph` and changed the implementation of `scroll_to_line`, which also counts lines within paragraphs. The help editor still used the `scroll_to_line` method while it should use the newly implemented `scroll_to_paragraph' as that is stored in its tables. | ||||
* | | Show help for built-in functions (@GlobalScope) | William Deurwaarder | 2021-08-30 | 1 | -0/+2 |
|/ | |||||
* | Implement error return documetation | reduz | 2021-08-24 | 1 | -1/+27 |
| | | | | | | | | | | | | | | Adds ability to add error return documetation to the binder and class reference. Usage example: ```C++ void MyClass::_bind_method() { [..] BIND_METHOD_ERR_RETURN_DOC("load", ERR_FILE_CANT_OPEN, ERR_FILE_UNRECOGNIZED); } ``` One function of ConfigFile was changed as example. | ||||
* | Implement NativeExtension pointer arguments | reduz | 2021-08-23 | 1 | -3/+3 |
| | | | | | | | | * Allows calling into native extensions directly with a pointer * Makes it easier to implement some APIs more efficiently * Appears with a "*" in the documentation for the argument. * Implementing the pointer handling is entirely up to the implementation, although the extension API provides some hint. * AudioStream has been implemented as an example, allowing to create NativeExtension based AudioStreams. | ||||
* | Entirely removes BIND_VMETHOD in favor of GDVIRTUAL | reduz | 2021-08-23 | 1 | -3/+1 |
| | | | | | | | | * `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now. | ||||
* | Add theme item descriptions to the online documentation | Yuri Sizov | 2021-08-04 | 1 | -5/+3 |
| | |||||
* | Optimize StringName usage | reduz | 2021-07-18 | 1 | -40/+40 |
| | | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor. | ||||
* | Rename `is_a_parent_of()` to `is_ancestor_of()` | Lightning_A | 2021-06-21 | 1 | -1/+1 |
| | |||||
* | Documentation search fixes | Gregory Basile | 2021-06-16 | 1 | -6/+3 |
| | | | | | | Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted" | ||||
* | Merge pull request #47791 from Chaosus/fix_doc_theme | Rémi Verschelde | 2021-05-24 | 1 | -1/+1 |
|\ | | | | | Fix doc theme not changing when its changed via settings | ||||
| * | Fix doc theme not changing when its hidding | Yuri Roubinsky | 2021-04-11 | 1 | -1/+1 |
| | | |||||
* | | Change behavior of String.right | Tomasz Chabora | 2021-05-20 | 1 | -1/+1 |
| | | |||||
* | | Rename LineEdit caret_* properties getters and setters to match property | Marcel Admiraal | 2021-04-17 | 1 | -1/+1 |
|/ | |||||
* | Fix crashes in *_input functions | Rafał Mikrut | 2021-04-05 | 1 | -0/+2 |
| |