Commit graph

120 commits

Author SHA1 Message Date
Rémi Verschelde
ad4b910a10
Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
HolonProduction
47bc8f002f LSP: Fix singleton registration 2026-02-16 21:40:19 +01:00
Thaddeus Crews
b6b7f5a9de
Merge pull request #115767 from DexterFstone/Add-a-script-editor-keyboard-shortcut-to-show-the-documentation-tooltip-for-the-word-the-caret-is-on
Add a script editor keyboard shortcut to show the documentation tooltip for the word the caret is on
2026-02-09 15:07:03 -06:00
Danil Alexeev
6e3dc38835
Editor: Improve appearance of built-in help 2026-02-06 11:15:59 +03:00
Dexter
9af504bd28 Add a script editor keyboard shortcut to show the documentation tooltip for the word the caret is on 2026-02-06 09:53:29 +03:30
Thaddeus Crews
071b605cdd
Merge pull request #94062 from dalexeev/core-mark-script-as-internal
Core: Mark property `script` as internal
2026-02-05 09:32:33 -06:00
Thaddeus Crews
79eb6694a1
Merge pull request #112381 from Ivorforce/no-right-align
Don't right-align escaped newlines (e.g. for `#define`)
2026-02-05 09:18:36 -06:00
Danil Alexeev
6fa2cc77e9
Core: Mark property script as internal 2026-02-05 16:17:22 +03:00
Lukas Tenbrink
c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
kobewi
d6975dac11 Add FilterLineEdit to unify editor filter field navigation 2026-02-03 15:37:20 +01:00
Nintorch
008266c4fe Fix editor tooltips disappearing with joypads 2026-01-22 18:51:55 +05:00
passivestar
d378cbca65 Add type variations for editor help in tooltips 2026-01-09 17:28:05 +04:00
Rémi Verschelde
d09a3d83ff
Merge pull request #113574 from YeldhamDev/take_the_hint
Enable scroll hints for several parts of the editor
2025-12-09 19:32:11 +01:00
Rémi Verschelde
66b6ea492f
Merge pull request #113706 from lodetrick/unused-and-forgotten
Codestyle: Remove unused private variables in `godot/editor`
2025-12-09 17:17:18 +01:00
Michael Alexsander
f187b8b2bf
Enable scroll hints for several parts of the editor 2025-12-09 10:55:26 -03:00
Logan Detrick
17c7a3b817 Remove unused private variables in godot/editor 2025-12-07 02:55:08 -08:00
Pāvels Nadtočajevs
330a19f362
[Editor HelpBit] Open online documentation if script editor is not available. 2025-12-05 12:10:28 +02:00
Thaddeus Crews
bf10defa6d
Merge pull request #113433 from arkology/editor-help-single-focus
`EditorHelp`: Scroll to the only result found every time
2025-12-02 11:51:56 -06:00
arkology
eb00eb9a68 EditorHelp: Scroll to the only result found every time 2025-12-02 08:00:43 +00:00
arkology
e435015476 Expand Hide button in EditorHelp search 2025-12-02 07:09:37 +00:00
风青山
81f727b6dd
Fix the returned controls of EditorHelpBitTooltip::show_tooltip() were not freed in ScriptTextEditor
The returned control is an orphan node, which is to make the standard tooltip invisible.
2025-11-23 23:31:59 +08:00
kobewi
54c2eaee4d Don't expose underscored signals 2025-11-14 18:52:42 +01:00
Danil Alexeev
0b20ae2e87
Add missing warning about copying packed arrays to EditorHelpBit 2025-11-11 14:23:56 +03:00
AdvanceControl
8a6d044fa1
Fix crash for classes without an icon 2025-11-04 00:30:11 +01:00
LuoZhihao
ce2fae79b1 Fallback to parent class icon by default for gdextension 2025-10-31 18:03:32 +08:00
Michael Alexsander
6353f0385b
Update documentation pages when switching themes 2025-10-28 22:34:27 -03:00
Jason Weiler
877468ab35 Adding a vertical splitter to the create node dialog so the descriptions are easier to read
Adding a vertical splitter to the create node dialog so the descriptions are easier to read

clang-format conformity
2025-10-20 11:55:47 -04:00
Thaddeus Crews
20430236e7
Merge pull request #107999 from timothyqiu/translation-cleanup
Clean up editor translation related methods
2025-10-15 16:31:09 -05:00
Lukas Tenbrink
9843a016f5 Reorder registration of types, to register supertypes before subtypes. 2025-10-09 11:50:32 +02:00
Haoyu Qiu
3f03260a21 Cleanup editor translation related methods
- Unify logic for loading editor/property/doc/extractable translations.
- Replace legacy `TranslationServer` methods with translation domains for internal translations.
- Only pre-create editor/property/doc translation domains in editor builds.
- Prevent adding `null` translation.
- Fixes potential loading of duplicated editor translations.
- Add internal `has_translation_for_locale()` instead of calling `get_loaded_translations().has()`.
2025-09-18 20:27:09 +08:00
Yufeng Ying
a50fc5acd8 Change ClassDB::get_class_list and related stuff. 2025-09-16 15:00:33 +08:00
Lukas Tenbrink
527f4e9e68 Update class reference contribution link. 2025-09-10 16:50:44 +02:00
Giganzo
c21a03361a Add hover styles to buttons in Script/Shader editor 2025-08-16 15:05:07 +02:00
Pāvels Nadtočajevs
3b12b3402f
Forward mouse events to embedded no-focus windows. 2025-08-05 22:31:44 +03:00
kobewi
0a94243d60 Don't update script documentation when exporting 2025-07-16 18:16:39 +02:00
Dery Almas
cf48f5a102 Disable tooltip fitting if FEATURE_SELF_FITTING_WINDOWS is available 2025-07-15 11:44:56 +02:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Rémi Verschelde
cfd84625f0 Move DocData and Collada out of their subfolders
Now that the unused DocDump was removed, the `editor/doc` subfolder is
redundant.

Similarly, there's no reason for Collada to have a subfolder for itself
when glTF or OBJ don't.
2020-03-24 09:56:04 +01:00
Rémi Verschelde
9d24541597 Remove unused classes and stray headers
Found by reviewing headers with 1 or less matching includes:
```
find -name thirdparty -prune -o -name "*.h" -exec basename {} \; | sort -u > headers
for header in $(cat headers); do echo "$header: "; rg -l "#include \"(.*/)?$header\"" | wc -l; done > list-includes
```
2020-03-24 09:50:51 +01:00
Rémi Verschelde
cb282c6ef0 Style: Set clang-format Standard to Cpp11
For us, it practically only changes the fact that `A<A<int>>` is now
used instead of the C++03 compatible `A<A<int> >`.

Note: clang-format 10+ changed the `Standard` arguments to fully
specified `c++11`, `c++14`, etc. versions, but we can't use `c++17`
now if we want to preserve compatibility with clang-format 8 and 9.
`Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-17 07:36:24 +01:00
Rémi Verschelde
788765709d DocData: Fix serialization of Variant default values
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2020-03-09 10:52:44 +01:00
Rémi Verschelde
6c8f2ae53a Update docs and bindings for new integer vector types 2020-02-25 15:27:29 +01:00
Juan Linietsky
33b5c57199 Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.
- Renames PackedIntArray to PackedInt32Array.
- Renames PackedFloatArray to PackedFloat32Array.
- Adds PackedInt64Array and PackedFloat64Array.
- Renames Variant::REAL to Variant::FLOAT for consistency.

Packed arrays are for storing large amount of data and creating stuff like
meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of
memory. That said, many users requested the ability to have 64 bits packed
arrays for their games, so this is just an optional added type.

For Variant, the float datatype is always 64 bits, and exposed as `float`.

We still have `real_t` which is the datatype that can change from 32 to 64
bits depending on a compile flag (not entirely working right now, but that's
the idea). It affects math related datatypes and code only.

Neither Variant nor PackedArray make use of real_t, which is only intended
for math precision, so the term is removed from there to keep only float.
2020-02-25 12:55:53 +01:00
Juan Linietsky
3c0059650d Added StringName as a variant type.
Also changed all relevant properties defined manually to StringName.
2020-02-21 14:25:29 +01:00
Juan Linietsky
69c95f4b4c Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
Juan Linietsky
3205a92ad8 PoolVector is gone, replaced by Vector
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are
sugar for `Vector<Type>`.
2020-02-18 10:10:36 +01:00
Rémi Verschelde
dacfdd8f33 doc: Only encode version branch (x.y) in class header
This avoids a big diff on patch version updates.
2020-02-14 17:38:21 +01:00
Juan Linietsky
6deffa62fb Several fixes to 3D rendering, and multimesh implementation. 2020-02-11 12:01:22 +01:00
Juan Linietsky
3f335ce3d4 Texture refactor
-Texture renamed to Texture2D
-TextureLayered as base now inherits 2Darray, cubemap and cubemap array
-Removed all references to flags in textures (they will go in the shader)
-Texture3D gone for now (will come back later done properly)
-Create base rasterizer for RenderDevice, RasterizerRD
2020-02-11 11:53:26 +01:00
Rémi Verschelde
4cee1cda5e
Merge pull request #35589 from akien-mga/doc-drop-category-property
doc: Drop unused 'category' property from header
2020-01-26 16:34:13 +01:00