Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package godot for openSUSE:Factory checked in at 2026-02-06 19:09:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/godot (Old) and /work/SRC/openSUSE:Factory/.godot.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "godot" Fri Feb 6 19:09:06 2026 rev:44 rq:1331459 version:4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/godot/godot.changes 2026-01-29 17:48:12.649634147 +0100 +++ /work/SRC/openSUSE:Factory/.godot.new.1670/godot.changes 2026-02-06 19:14:45.959249908 +0100 @@ -1,0 +2,6 @@ +Sat Jan 31 12:00:00 UTC 2026 - [email protected] + +- added patch LSP__add_godot_to_known_language_ids.patch +- added patch LSP__handle_clients_that_do_not_support_CompletionContext.patch + +------------------------------------------------------------------- New: ---- LSP__add_godot_to_known_language_ids.patch LSP__handle_clients_that_do_not_support_CompletionContext.patch ----------(New B)---------- New: - added patch LSP__add_godot_to_known_language_ids.patch - added patch LSP__handle_clients_that_do_not_support_CompletionContext.patch New:- added patch LSP__add_godot_to_known_language_ids.patch - added patch LSP__handle_clients_that_do_not_support_CompletionContext.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ godot.spec ++++++ --- /var/tmp/diff_new_pack.cDum9J/_old 2026-02-06 19:14:47.391310238 +0100 +++ /var/tmp/diff_new_pack.cDum9J/_new 2026-02-06 19:14:47.395310406 +0100 @@ -37,6 +37,10 @@ URL: https://godotengine.org/ Source0: https://github.com/godotengine/%{name}/releases/download/%{version}-stable/%{name}-%{version}-stable.tar.xz Source1: https://github.com/godotengine/%{name}/releases/download/%{version}-stable/%{name}-%{version}-stable.tar.xz.sha256 +# PATCH-FIX-UPSTREAM LSP__add_godot_to_known_language_ids.patch more details inside +Patch0: LSP__add_godot_to_known_language_ids.patch +# PATCH-FIX-UPSTREAM LSP__handle_clients_that_do_not_support_CompletionContext.patch more details inside +Patch1: LSP__handle_clients_that_do_not_support_CompletionContext.patch BuildRequires: Mesa-devel BuildRequires: desktop-file-utils BuildRequires: fdupes ++++++ LSP__add_godot_to_known_language_ids.patch ++++++ >From 9c72dafbe6443b61c5dda39b63edd261e9034989 Mon Sep 17 00:00:00 2001 From: HolonProduction <[email protected]> Date: Sat, 31 Jan 2026 13:21:24 +0100 Subject: [PATCH] LSP: Add `godot` to known language ids References: https://github.com/godotengine/godot/issues/115631 https://github.com/godotengine/godot/pull/115671 Upstream: merged fix communication between kate and godot via lsp can be probably dropped if included in next release --- modules/gdscript/language_server/godot_lsp.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/gdscript/language_server/godot_lsp.h b/modules/gdscript/language_server/godot_lsp.h index 31a5bdc14320..f1401efa0b53 100644 --- a/modules/gdscript/language_server/godot_lsp.h +++ b/modules/gdscript/language_server/godot_lsp.h @@ -695,10 +695,12 @@ struct TextDocumentItem { version = p_dict["version"]; text = p_dict["text"]; - // Clients should use "gdscript" as language id, but we can't enforce it. The Rider integration - // in particular uses "gd" at the time of writing. We normalize the id to make it easier to work with. + // Clients should use "gdscript" as language id, but we can't enforce it. + // We normalize some known ids to make them easier to work with: + // Rider < 2026.1: "gd" + // Kate: "godot" String rawLanguageId = p_dict["languageId"]; - if (rawLanguageId == "gdscript" || rawLanguageId == "gd") { + if (rawLanguageId == "gdscript" || rawLanguageId == "gd" || rawLanguageId == "godot") { languageId = LanguageId::GDSCRIPT; } else { languageId = LanguageId::OTHER; ++++++ LSP__handle_clients_that_do_not_support_CompletionContext.patch ++++++ >From 0080d6f109d769478b049a0b3621183f8df71776 Mon Sep 17 00:00:00 2001 From: HolonProduction <[email protected]> Date: Sat, 31 Jan 2026 13:40:51 +0100 Subject: [PATCH] LSP: Handle clients that do not support `CompletionContext` References: https://github.com/godotengine/godot/issues/115631 https://github.com/godotengine/godot/pull/115672 Upstream: merged less errors shown for communication between kate and godot via lsp can be probably dropped if included in next release --- modules/gdscript/language_server/godot_lsp.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/gdscript/language_server/godot_lsp.h b/modules/gdscript/language_server/godot_lsp.h index 31a5bdc14320..a249a7a5d620 100644 --- a/modules/gdscript/language_server/godot_lsp.h +++ b/modules/gdscript/language_server/godot_lsp.h @@ -1438,7 +1438,7 @@ struct CompletionContext { /** * How the completion was triggered. */ - int triggerKind = CompletionTriggerKind::TriggerCharacter; + int triggerKind = CompletionTriggerKind::Invoked; /** * The trigger character (a single character) that has trigger code complete. @@ -1461,7 +1461,10 @@ struct CompletionParams : public TextDocumentPositionParams { void load(const Dictionary &p_params) { TextDocumentPositionParams::load(p_params); - context.load(p_params["context"]); + + if (p_params.has("context")) { + context.load(p_params["context"]); + } } Dictionary to_json() {
