Commit Graph

222 Commits

Author SHA1 Message Date
Thaddeus Crews 19cf57431d Merge pull request #107126 from a-johnston/expose_fuzzy_search
Expose fuzzy search api to scripting
2026-06-22 08:29:48 -05:00
Thaddeus Crews 41e3364455 Merge pull request #116751 from bruvzg/text_presort_2
Presort text draw calls (simplified version).
2026-06-22 08:29:47 -05:00
Thaddeus Crews f964fa714f Merge pull request #118575 from DeeJayLSP/gdtype-name-hierarchy
Exchange use of `ClassDB::is_parent_class()` with `Object::is_class()` where possible
2026-06-19 15:09:27 -05:00
Thaddeus Crews ef79fa3fc0 Merge pull request #117946 from HolonProduction/editor-language-kickoff
Introduce `EditorLanguage` and move `ScriptLanguage::complete_code` into it.
2026-06-19 15:09:19 -05:00
Adam Johnston 132c9e5ce2 Expose fuzzy search classes in public api 2026-06-18 13:20:25 -07:00
Thaddeus Crews 32159caaf4 Merge pull request #117849 from WoodWood1299/nonresizable-confirmation-dialogue
Editor: Fix accept/confirmation dialogs being resizable
2026-06-18 15:14:02 -05:00
Thaddeus Crews f233ec36e4 Merge pull request #119047 from jinyangcruise/fix_near_jump_issue
Fix jumping to definition does not set proper return point if the definition is very close
2026-06-18 13:15:31 -05:00
Pāvels Nadtočajevs 892381663b Presort text draw calls. 2026-05-21 13:29:28 +03:00
jinyangcruise 902035ee81 Refactor script editor history navigation. 2026-05-12 09:47:45 +08:00
João Diniz 0046f29e63 Editor: Mark simple confirmation/accept dialogs as non-resizable
Adds set_flag(FLAG_RESIZE_DISABLED, true) to ConfirmationDialog and
AcceptDialog instances which only contain plain content. Dialogs
with content that could leave the borders of the dialog were kept
as resizable.

The flag is set explicitly at dialog creation time, instead of the
previous auto-detect approach. In cases of uncertainty, the dialog was
left as resizable.
2026-05-10 01:35:46 +01:00
Thaddeus Crews 9c36ef4749 Merge pull request #116905 from KoBeWi/slashtableflip
Overhaul scene loading and edit state management
2026-05-07 11:13:25 -05:00
HolonProduction 623809d89e Introduce EditorLanguage and move ScriptLanguage::complete_code into it. 2026-05-01 10:58:14 +02:00
HolonProduction 612475a680 GDScript: Track columns by raw string offsets 2026-04-26 21:32:46 +02:00
DeeJayLSP d376b20bef Exchange use of ClassDB::is_parent_class() with Object::is_class() where possible 2026-04-16 12:37:47 -03:00
jinyangcruise 251af31089 fix hover/pressed style overwride custom drawed content 2026-04-16 22:56:54 +08:00
kobewi 8cd87c2c16 Overhaul scene loading and edit state management 2026-04-14 16:53:30 +02:00
kit 67e93e735f Clean up FindInFiles code 2026-04-10 11:58:50 -04:00
Thaddeus Crews 4f0eccae9c Merge pull request #118168 from KoBeWi/fif.inc
Handle gdshaderinc files in Find in Files
2026-04-08 09:25:37 -05:00
Thaddeus Crews d7a88c4dc2 Merge pull request #118179 from raulsntos/fix-unsaved-bug
Fix adding duplicate entries for already opened files in built-in editor
2026-04-08 09:25:35 -05:00
Raul Santos b3f01cd4b3 Fix adding duplicate entries for already opened files in built-in editor 2026-04-04 09:02:31 +02:00
kobewi bd3f550c14 Handle gdshaderinc files in Find in Files 2026-04-03 22:13:12 +02:00
Infiland 07d360fbf6 Fix script editor errors shown out of order
When warnings are treated as errors in GDScript, they are appended to
the error list via `push_error()` without regard for line ordering.
This causes them to appear after all other errors in the editor panel,
regardless of their actual line numbers.

Sort errors by line number (with column as tiebreaker) in
`_validate_script()` before display. This ensures the error panel and
the first-error indicator both reflect the correct source order. The
fix is language-agnostic, benefiting all script languages.
2026-04-02 23:18:44 +02:00
Thaddeus Crews edd83fa534 Merge pull request #117742 from p-b-b/breakpoint-fix
Fix breakpoints resetting on external editor save
2026-04-01 12:55:09 -05:00
Thaddeus Crews bcf3d9a9c6 Merge pull request #113772 from LilithSilver/add-close-file
Add `ScriptEditor::close_file()`
2026-03-30 13:35:19 -05: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
nikitalita 8628738a34 Add ScriptEditor::close_file() 2026-03-24 13:27:49 -07:00
Rémi Verschelde 40be61def8 Merge pull request #113762 from LilithSilver/bind-get-unsaved-scripts
Expose `ScriptEditor::get_unsaved_files`
2026-03-23 22:33:47 +01:00
Pedro Barroso de Brito 246ce46513 Fix breakpoints resetting on external editor save 2026-03-22 22:43:30 +00:00
Lukas Tenbrink 05c33acbb1 Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference. 2026-03-18 20:34:08 +01:00
nikitalita 6bf7ca2dbb Add ScriptEditor::get_unsaved_files 2026-03-18 09:25:26 -07:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Rémi Verschelde 280e06c2fe Merge pull request #117375 from kitbdev/fix-te-menu-error
Fix error on opening script after documentation
2026-03-16 23:41:20 +01:00
Rémi Verschelde 6e07a6c3c9 Merge pull request #117442 from Ivorforce/classdb-dedup-name
De-duplicate name and inherits `StringName` properties from `ClassDB::ClassInfo`, in favour of `GDType`
2026-03-16 12:08:25 +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
Lukas Tenbrink 67f63addc1 De-duplicate name and inherits StringName properties from ClassDB::ClassInfo, in favour of GDType. 2026-03-15 16:57:10 +01:00
kit e5a66b7628 Fix error on opening script after documentation 2026-03-12 13:41:59 -04:00
Thaddeus Crews 3f040adfac Merge pull request #117016 from Mrfanta-stick/fix-script-create-dialog-fallback
Add explicit OptionButton fallback state in ScriptCreateDialog
2026-03-09 15:18:10 -05:00
Thaddeus Crews 938369749a Merge pull request #116734 from kitbdev/sc-drag-nested-intersection
SplitContainer drag nested intersections
2026-03-06 12:40:12 -06:00
Mrfanta-stick 4b86e36947 Add explicit OptionButton fallback state in ScriptCreateDialog 2026-03-06 19:31:05 +05:30
kit f51857cbaf Fix TextEditor breakpoint and bookmark shortcuts not working until menu is opened 2026-03-05 18:33:56 -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
StarryWorm 3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
Thaddeus Crews db25be3646 Merge pull request #116585 from jinyangcruise/fix_symbol_jump
Fix symbol jump history navigation issue.
2026-03-04 11:20:33 -06: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 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
jinyangcruise e4e31abeaa fix symbol jump history navigation issue. 2026-02-28 09:45:06 +08: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