Commit Graph

145 Commits

Author SHA1 Message Date
Chaosus b5d9b7a32b Properly update shader text syntax highlighting (for disabled regions) 2026-06-02 16:19:24 +03:00
Thaddeus Crews 037c9a99e2 Merge pull request #118865 from vaner-org/shader-preview-line-redesign
Improve inline shader preview layout
2026-05-15 15:42:08 -05:00
vaner-org 2e1a2e9a9c Improve inline shader preview layout 2026-05-15 16:22:14 +05:30
Thaddeus Crews fe34aa9aed Merge pull request #118853 from KoBeWi/final_final_v2
Assign final path when creating built-in Resources
2026-05-12 12:25:45 -05:00
kit 301deec8b2 Only focus the shader editor when directly opened 2026-05-02 11:46:57 -04:00
kobewi 88bce0d480 Assign final path when creating built-in Resources 2026-04-22 17:49:57 +02:00
cashew-olddew d549fed7dc reset brace stack 2026-04-20 20:05:47 +03:00
cashew-olddew 825a2ad011 Disable previews for loops 2026-04-18 15:10:01 +03:00
Thaddeus Crews 935df7feec Merge pull request #114622 from LucaTuerk/shader_create_dialog_include_fix
Fix ShaderInclude selected in ShaderCreateDialog due to previous selection even if invalid
2026-04-10 10:32:23 -05:00
Chaosus 34777ad0e4 Implement inline text shader previews
Co-authored-by: Cashew OldDew <155181921+cashew-olddew@users.noreply.github.com>
2026-04-10 08:40:02 +03:00
Aaron Franke cfded120ae Move visual shaders to a module 2026-04-08 12:05:22 -07:00
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
virusbear f18c121586 Fix texture blit source texture naming 2026-03-18 11:40:52 -05:00
Rémi Verschelde 98868393cc Style: Enforce #include validation hook 2026-03-18 10:41:59 +01:00
Rémi Verschelde 005e054245 Remove unused includes in editor with clangd-tidy
Also includes the few changes flagged in `main`.
2026-03-15 20:47:05 +01:00
kobewi 9a0c0bf757 Remove redundant _has_main_screen() overrides 2026-03-13 13:10:09 +01:00
Rémi Verschelde 8028b65442 Remove unused includes in scene with clangd-tidy 2026-03-10 16:40:00 +01:00
Thaddeus Crews b5613b27e4 Merge pull request #116412 from YeldhamDev/marginalized_shader_editor
Fix `ShaderEditor`'s UI overflowing when shrunk
2026-03-09 15:18:12 -05:00
kit 339bc4f88f SplitContainer drag nested intersections 2026-03-05 10:35:02 -05:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Rémi Verschelde 8c0f175c94 Decouple RenderingServer from as much of the codebase as possible
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde a447ac95ec Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Michael Alexsander 6769f5343c Fix ShaderEditor's UI overflowing when shrunk 2026-03-02 19:32:22 -03:00
Thaddeus Crews 1aaea38e7f Merge pull request #111573 from StarryWorm/rm-class_db.h-from-resource.h
Core: remove `class_db.h` include from `resource.h`
2026-02-28 13:55:24 -06:00
StarryWorm 357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews 634220e9fc Merge pull request #114971 from KoBeWi/resettings
Reorganize interface/editor setttings
2026-02-27 15:44:44 -06:00
Thaddeus Crews dd150a3823 Merge pull request #116413 from Chaosus/shader_fix_completion
Fixes for completion of shader preprocessor defines
2026-02-27 15:44:40 -06:00
kobewi 1b543e85cf Reorganize interface/editor setttings 2026-02-27 22:25:59 +01:00
Thaddeus Crews 28c37846d8 Merge pull request #111547 from sockeye-d/script-editor-join-lines
Add script editor `join_lines` keybind
2026-02-27 08:49:31 -06:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Rémi Verschelde 0ce92073ae Move RS::ShaderNativeSourceCode to RenderingServerTypes to reduce dependencies on RS
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 1s, and paves the way for more decoupling in
rendering code.
2026-02-25 20:17:27 +01:00
Rémi Verschelde f5a290ac46 Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Chaosus ef933c9235 Add smooth to the changing of properties values in visual shader 2026-02-23 14:11:29 +03:00
Chaosus cd5f2aa923 Fixes for completion of shader preprocessor defines 2026-02-22 10:26:03 +03:00
fish 4d294caac9 Add script editor join line functionality 2026-02-20 15:59:41 -08:00
Thaddeus Crews ad4c2c3da8 Merge pull request #116097 from KoBeWi/but_who_will_validate_validation_panel
Fix auto-translation of EditorValidationPanel
2026-02-18 17:28:30 -06:00
Thaddeus Crews 1e12317895 Merge pull request #115646 from Ivorforce/list-explicit-copy
Change `List` copy constructor from implicit to explicit.
2026-02-16 15:02:34 -06:00
arkology f3df9c2434 Convert "Line and column numbers" label to button 2026-02-11 14:01:03 +00:00
kobewi e0225265b4 Fix auto-translation of EditorValidationPanel 2026-02-09 13:52:42 +01:00
Thaddeus Crews f801f496a8 Merge pull request #115193 from skiessq/fix-visual-shader-frame-duplication
VisualShader: Fix nodes not attaching to new Frame on duplication
2026-02-06 08:18:02 -06:00
kobewi d6975dac11 Add FilterLineEdit to unify editor filter field navigation 2026-02-03 15:37:20 +01:00
Rémi Verschelde 63c78e684b Merge pull request #114165 from KoBeWi/static
Use actual class names in resource type hints
2026-02-02 10:10:24 +01:00
Lukas Tenbrink 7072a9a874 Change List copy constructor from implicit to explicit. 2026-01-30 18:58:42 +01:00
Thaddeus Crews e36d624a30 Merge pull request #115607 from Ivorforce/sunless-sky
Remove `sky.h` include from `environment.h`, to speed up compile time.
2026-01-30 09:32:14 -06:00
Thaddeus Crews fd6e80d4e9 Merge pull request #105701 from ColinSORourke/DrawableTexture
Implement DrawableTextures
2026-01-30 09:32:05 -06:00
Lukas Tenbrink 1d840aae3a Remove sky.h include from environment.h, to speed up compile time. 2026-01-30 00:05:55 +01:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
kobewi 4274f8b543 Replace DockSlot with DockTabContainer 2026-01-29 16:52:01 +01:00