[gnome-builder] libide-lsp: update availability macros
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide-lsp: update availability macros
- Date: Tue, 12 Jul 2022 06:39:10 +0000 (UTC)
commit 83695dab23ec051fd991716542f5a44dfc4f84a2
Author: Christian Hergert <chergert redhat com>
Date: Mon Jul 11 17:55:43 2022 -0700
libide-lsp: update availability macros
src/libide/lsp/ide-lsp-client.h | 34 ++++++++++++------------
src/libide/lsp/ide-lsp-code-action-provider.h | 8 +++---
src/libide/lsp/ide-lsp-code-action.h | 8 +++---
src/libide/lsp/ide-lsp-completion-item.h | 37 ++++++++++++++-------------
src/libide/lsp/ide-lsp-completion-provider.h | 10 +++-----
src/libide/lsp/ide-lsp-completion-results.h | 8 +++---
src/libide/lsp/ide-lsp-diagnostic-provider.h | 6 ++---
src/libide/lsp/ide-lsp-diagnostic.h | 6 ++---
src/libide/lsp/ide-lsp-formatter.h | 6 ++---
src/libide/lsp/ide-lsp-highlighter.h | 8 +++---
src/libide/lsp/ide-lsp-hover-provider.h | 9 +++----
src/libide/lsp/ide-lsp-rename-provider.h | 6 ++---
src/libide/lsp/ide-lsp-search-provider.h | 6 ++---
src/libide/lsp/ide-lsp-search-result.h | 4 +--
src/libide/lsp/ide-lsp-service.h | 20 +++++++--------
src/libide/lsp/ide-lsp-symbol-node.h | 6 ++---
src/libide/lsp/ide-lsp-symbol-resolver.h | 6 ++---
src/libide/lsp/ide-lsp-symbol-tree.h | 2 +-
src/libide/lsp/ide-lsp-util.c | 2 --
src/libide/lsp/ide-lsp-util.h | 6 ++---
src/libide/lsp/ide-lsp-workspace-edit.h | 6 ++---
21 files changed, 99 insertions(+), 105 deletions(-)
---
diff --git a/src/libide/lsp/ide-lsp-client.h b/src/libide/lsp/ide-lsp-client.h
index f73f5cb74..4f225c654 100644
--- a/src/libide/lsp/ide-lsp-client.h
+++ b/src/libide/lsp/ide-lsp-client.h
@@ -30,7 +30,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_CLIENT (ide_lsp_client_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspClient, ide_lsp_client, IDE, LSP_CLIENT, IdeObject)
typedef enum
@@ -59,49 +59,49 @@ struct _IdeLspClientClass
gpointer _reserved[15];
};
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_client_new (GIOStream *io_stream);
-IDE_AVAILABLE_IN_3_36
+IDE_AVAILABLE_IN_ALL
IdeLspTrace ide_lsp_client_get_trace (IdeLspClient *self);
-IDE_AVAILABLE_IN_3_36
+IDE_AVAILABLE_IN_ALL
void ide_lsp_client_set_trace (IdeLspClient *self,
IdeLspTrace trace);
-IDE_AVAILABLE_IN_3_36
+IDE_AVAILABLE_IN_ALL
GVariant *ide_lsp_client_get_server_capabilities (IdeLspClient *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_client_add_language (IdeLspClient *self,
const gchar *language_id);
-IDE_AVAILABLE_IN_3_38
+IDE_AVAILABLE_IN_ALL
void ide_lsp_client_set_root_uri (IdeLspClient *self,
const gchar *root_uri);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_client_start (IdeLspClient *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_client_stop (IdeLspClient *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_client_call_async (IdeLspClient *self,
const gchar *method,
GVariant *params,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
gboolean ide_lsp_client_call_finish (IdeLspClient *self,
GAsyncResult *result,
GVariant **return_value,
GError **error);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_client_send_notification_async (IdeLspClient *self,
const gchar *method,
GVariant *params,
GCancellable *cancellable,
GAsyncReadyCallback notificationback,
gpointer user_data);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
gboolean ide_lsp_client_send_notification_finish (IdeLspClient *self,
GAsyncResult *result,
GError **error);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_client_get_diagnostics_async (IdeLspClient *self,
GFile *file,
GBytes *content,
@@ -109,15 +109,15 @@ void ide_lsp_client_get_diagnostics_async (IdeLspClient *s
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
gboolean ide_lsp_client_get_diagnostics_finish (IdeLspClient *self,
GAsyncResult *result,
IdeDiagnostics **diagnostics,
GError **error);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
void ide_lsp_client_set_initialization_options (IdeLspClient *self,
GVariant *options);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
GVariant *ide_lsp_client_get_initialization_options (IdeLspClient *self);
G_END_DECLS
diff --git a/src/libide/lsp/ide-lsp-code-action-provider.h b/src/libide/lsp/ide-lsp-code-action-provider.h
index 7493c5725..dccabea96 100644
--- a/src/libide/lsp/ide-lsp-code-action-provider.h
+++ b/src/libide/lsp/ide-lsp-code-action-provider.h
@@ -32,7 +32,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_CODE_ACTION_PROVIDER (ide_lsp_code_action_provider_get_type())
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspCodeActionProvider, ide_lsp_code_action_provider, IDE,
LSP_CODE_ACTION_PROVIDER, IdeObject)
struct _IdeLspCodeActionProviderClass
@@ -40,12 +40,12 @@ struct _IdeLspCodeActionProviderClass
IdeObjectClass parent_class;
};
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
void ide_lsp_code_action_provider_set_client (IdeLspCodeActionProvider *self,
IdeLspClient *client);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_code_action_provider_get_client (IdeLspCodeActionProvider *self);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
IdeDiagnostics *ide_lsp_code_action_provider_get_diagnostics (IdeLspCodeActionProvider *self);
diff --git a/src/libide/lsp/ide-lsp-code-action.h b/src/libide/lsp/ide-lsp-code-action.h
index 3a9d1b8a4..8a7cb4f79 100644
--- a/src/libide/lsp/ide-lsp-code-action.h
+++ b/src/libide/lsp/ide-lsp-code-action.h
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_CODE_ACTION (ide_lsp_code_action_get_type())
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspCodeAction, ide_lsp_code_action, IDE, LSP_CODE_ACTION, IdeObject)
struct _IdeLspCodeActionClass
@@ -41,17 +41,17 @@ struct _IdeLspCodeActionClass
IdeObjectClass parent_class;
};
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
IdeLspCodeAction *ide_lsp_code_action_new (IdeLspClient *client,
const gchar *title,
const gchar *command,
GVariant *arguments,
IdeLspWorkspaceEdit *workspace_edit);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
void ide_lsp_code_action_set_client (IdeLspCodeAction *self,
IdeLspClient *client);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_code_action_get_client (IdeLspCodeAction *self);
diff --git a/src/libide/lsp/ide-lsp-completion-item.h b/src/libide/lsp/ide-lsp-completion-item.h
index bb325a053..3cb800c1c 100644
--- a/src/libide/lsp/ide-lsp-completion-item.h
+++ b/src/libide/lsp/ide-lsp-completion-item.h
@@ -30,25 +30,26 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_COMPLETION_ITEM (ide_lsp_completion_item_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (IdeLspCompletionItem, ide_lsp_completion_item, IDE, LSP_COMPLETION_ITEM, GObject)
-IDE_AVAILABLE_IN_3_32
-IdeLspCompletionItem *ide_lsp_completion_item_new (GVariant *variant);
-IDE_AVAILABLE_IN_3_32
-const gchar *ide_lsp_completion_item_get_icon_name (IdeLspCompletionItem *self);
-IDE_AVAILABLE_IN_3_32
-const gchar *ide_lsp_completion_item_get_return_type (IdeLspCompletionItem *self);
-IDE_AVAILABLE_IN_3_32
-const gchar *ide_lsp_completion_item_get_detail (IdeLspCompletionItem *self);
-IDE_AVAILABLE_IN_3_32
-gchar *ide_lsp_completion_item_get_markup (IdeLspCompletionItem *self,
- const gchar *typed_text);
-IDE_AVAILABLE_IN_3_32
-IdeSnippet *ide_lsp_completion_item_get_snippet (IdeLspCompletionItem *self);
-
-IDE_AVAILABLE_IN_41
-GPtrArray *ide_lsp_completion_item_get_additional_text_edits (IdeLspCompletionItem *self,
- GFile *file);
+IDE_AVAILABLE_IN_ALL
+IdeLspCompletionItem *ide_lsp_completion_item_new (GVariant *variant);
+IDE_AVAILABLE_IN_ALL
+const gchar *ide_lsp_completion_item_get_icon_name (IdeLspCompletionItem *self);
+IDE_AVAILABLE_IN_ALL
+const gchar *ide_lsp_completion_item_get_return_type (IdeLspCompletionItem *self);
+IDE_AVAILABLE_IN_ALL
+const gchar *ide_lsp_completion_item_get_detail (IdeLspCompletionItem *self);
+IDE_AVAILABLE_IN_ALL
+GtkSourceSnippet *ide_lsp_completion_item_get_snippet (IdeLspCompletionItem *self);
+
+IDE_AVAILABLE_IN_ALL
+GPtrArray *ide_lsp_completion_item_get_additional_text_edits (IdeLspCompletionItem *self,
+ GFile *file);
+IDE_AVAILABLE_IN_ALL
+void ide_lsp_completion_item_display (IdeLspCompletionItem *self,
+ GtkSourceCompletionCell *cell,
+ const char
*typed_text);
G_END_DECLS
diff --git a/src/libide/lsp/ide-lsp-completion-provider.h b/src/libide/lsp/ide-lsp-completion-provider.h
index 771aa4885..14583ce76 100644
--- a/src/libide/lsp/ide-lsp-completion-provider.h
+++ b/src/libide/lsp/ide-lsp-completion-provider.h
@@ -31,23 +31,21 @@
G_BEGIN_DECLS
#define IDE_TYPE_LSP_COMPLETION_PROVIDER (ide_lsp_completion_provider_get_type())
-
#define IDE_LSP_COMPLETION_PROVIDER_PRIORITY 200
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspCompletionProvider, ide_lsp_completion_provider, IDE,
LSP_COMPLETION_PROVIDER, IdeObject)
struct _IdeLspCompletionProviderClass
{
IdeObjectClass parent_class;
- /*< private >*/
- gpointer _reserved[8];
+ void (*load) (IdeLspCompletionProvider *self);
};
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_completion_provider_get_client (IdeLspCompletionProvider *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_completion_provider_set_client (IdeLspCompletionProvider *self,
IdeLspClient *client);
diff --git a/src/libide/lsp/ide-lsp-completion-results.h b/src/libide/lsp/ide-lsp-completion-results.h
index 531e88d1a..47607e965 100644
--- a/src/libide/lsp/ide-lsp-completion-results.h
+++ b/src/libide/lsp/ide-lsp-completion-results.h
@@ -30,13 +30,13 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_COMPLETION_RESULTS (ide_lsp_completion_results_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (IdeLspCompletionResults, ide_lsp_completion_results, IDE, LSP_COMPLETION_RESULTS,
GObject)
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeLspCompletionResults *ide_lsp_completion_results_new (GVariant *results);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_completion_results_refilter (IdeLspCompletionResults *self,
- const gchar *typed_text);
+ const char *typed_text);
G_END_DECLS
diff --git a/src/libide/lsp/ide-lsp-diagnostic-provider.h b/src/libide/lsp/ide-lsp-diagnostic-provider.h
index 35e5af04a..f7d3759fc 100644
--- a/src/libide/lsp/ide-lsp-diagnostic-provider.h
+++ b/src/libide/lsp/ide-lsp-diagnostic-provider.h
@@ -32,7 +32,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_DIAGNOSTIC_PROVIDER (ide_lsp_diagnostic_provider_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspDiagnosticProvider, ide_lsp_diagnostic_provider, IDE,
LSP_DIAGNOSTIC_PROVIDER, IdeObject)
struct _IdeLspDiagnosticProviderClass
@@ -43,9 +43,9 @@ struct _IdeLspDiagnosticProviderClass
gpointer _reserved[16];
};
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_diagnostic_provider_get_client (IdeLspDiagnosticProvider *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_diagnostic_provider_set_client (IdeLspDiagnosticProvider *self,
IdeLspClient *client);
diff --git a/src/libide/lsp/ide-lsp-diagnostic.h b/src/libide/lsp/ide-lsp-diagnostic.h
index ed0f3efde..55e19a598 100644
--- a/src/libide/lsp/ide-lsp-diagnostic.h
+++ b/src/libide/lsp/ide-lsp-diagnostic.h
@@ -30,7 +30,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_DIAGNOSTIC (ide_lsp_diagnostic_get_type())
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspDiagnostic, ide_lsp_diagnostic, IDE, LSP_DIAGNOSTIC, IdeDiagnostic)
struct _IdeLspDiagnosticClass
@@ -41,12 +41,12 @@ struct _IdeLspDiagnosticClass
gpointer _reserved[16];
};
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
IdeLspDiagnostic *ide_lsp_diagnostic_new (IdeDiagnosticSeverity severity,
const gchar *message,
IdeLocation *location,
GVariant *raw_value);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
GVariant *ide_lsp_diagnostic_dup_raw (IdeLspDiagnostic *self);
G_END_DECLS
diff --git a/src/libide/lsp/ide-lsp-formatter.h b/src/libide/lsp/ide-lsp-formatter.h
index 915c8eb1d..f1b9a96fe 100644
--- a/src/libide/lsp/ide-lsp-formatter.h
+++ b/src/libide/lsp/ide-lsp-formatter.h
@@ -32,7 +32,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_FORMATTER (ide_lsp_formatter_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspFormatter, ide_lsp_formatter, IDE, LSP_FORMATTER, IdeObject)
struct _IdeLspFormatterClass
@@ -40,10 +40,10 @@ struct _IdeLspFormatterClass
IdeObjectClass parent_class;
};
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_formatter_set_client (IdeLspFormatter *self,
IdeLspClient *client);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_formatter_get_client (IdeLspFormatter *self);
G_END_DECLS
diff --git a/src/libide/lsp/ide-lsp-highlighter.h b/src/libide/lsp/ide-lsp-highlighter.h
index 11c13bada..aea79ee53 100644
--- a/src/libide/lsp/ide-lsp-highlighter.h
+++ b/src/libide/lsp/ide-lsp-highlighter.h
@@ -32,7 +32,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_HIGHLIGHTER (ide_lsp_highlighter_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspHighlighter, ide_lsp_highlighter, IDE, LSP_HIGHLIGHTER, IdeObject)
struct _IdeLspHighlighterClass
@@ -43,12 +43,12 @@ struct _IdeLspHighlighterClass
gpointer _reserved[8];
};
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_highlighter_get_client (IdeLspHighlighter *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_highlighter_set_client (IdeLspHighlighter *self,
IdeLspClient *client);
-IDE_AVAILABLE_IN_3_36
+IDE_AVAILABLE_IN_ALL
void ide_lsp_highlighter_set_kind_style (IdeLspHighlighter *self,
IdeSymbolKind kind,
const gchar *style);
diff --git a/src/libide/lsp/ide-lsp-hover-provider.h b/src/libide/lsp/ide-lsp-hover-provider.h
index 76a26b59f..0a46aec42 100644
--- a/src/libide/lsp/ide-lsp-hover-provider.h
+++ b/src/libide/lsp/ide-lsp-hover-provider.h
@@ -30,7 +30,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_HOVER_PROVIDER (ide_lsp_hover_provider_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspHoverProvider, ide_lsp_hover_provider, IDE, LSP_HOVER_PROVIDER, IdeObject)
struct _IdeLspHoverProviderClass
@@ -38,14 +38,11 @@ struct _IdeLspHoverProviderClass
IdeObjectClass parent_class;
void (*prepare) (IdeLspHoverProvider *self);
-
- /*< private >*/
- gpointer _reserved[8];
};
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_hover_provider_get_client (IdeLspHoverProvider *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_hover_provider_set_client (IdeLspHoverProvider *self,
IdeLspClient *client);
diff --git a/src/libide/lsp/ide-lsp-rename-provider.h b/src/libide/lsp/ide-lsp-rename-provider.h
index d03077bed..501cd4a74 100644
--- a/src/libide/lsp/ide-lsp-rename-provider.h
+++ b/src/libide/lsp/ide-lsp-rename-provider.h
@@ -32,7 +32,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_RENAME_PROVIDER (ide_lsp_rename_provider_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspRenameProvider, ide_lsp_rename_provider, IDE, LSP_RENAME_PROVIDER, IdeObject)
struct _IdeLspRenameProviderClass
@@ -43,9 +43,9 @@ struct _IdeLspRenameProviderClass
gpointer _reserved[16];
};
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_rename_provider_get_client (IdeLspRenameProvider *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_rename_provider_set_client (IdeLspRenameProvider *self,
IdeLspClient *client);
diff --git a/src/libide/lsp/ide-lsp-search-provider.h b/src/libide/lsp/ide-lsp-search-provider.h
index 7f8964b99..30b08b51f 100644
--- a/src/libide/lsp/ide-lsp-search-provider.h
+++ b/src/libide/lsp/ide-lsp-search-provider.h
@@ -30,7 +30,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_SEARCH_PROVIDER (ide_lsp_search_provider_get_type())
-IDE_AVAILABLE_IN_3_40
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspSearchProvider, ide_lsp_search_provider, IDE, LSP_SEARCH_PROVIDER, IdeObject)
struct _IdeLspSearchProviderClass
@@ -41,9 +41,9 @@ struct _IdeLspSearchProviderClass
gpointer _reserved[8];
};
-IDE_AVAILABLE_IN_3_40
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_search_provider_get_client (IdeLspSearchProvider *self);
-IDE_AVAILABLE_IN_3_40
+IDE_AVAILABLE_IN_ALL
void ide_lsp_search_provider_set_client (IdeLspSearchProvider *self,
IdeLspClient *client);
diff --git a/src/libide/lsp/ide-lsp-search-result.h b/src/libide/lsp/ide-lsp-search-result.h
index 097bf8c39..6c2248928 100644
--- a/src/libide/lsp/ide-lsp-search-result.h
+++ b/src/libide/lsp/ide-lsp-search-result.h
@@ -31,10 +31,10 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_SEARCH_RESULT (ide_lsp_search_result_get_type())
-IDE_AVAILABLE_IN_3_40
+IDE_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (IdeLspSearchResult, ide_lsp_search_result, IDE, LSP_SEARCH_RESULT, IdeSearchResult)
-IDE_AVAILABLE_IN_3_40
+IDE_AVAILABLE_IN_ALL
IdeLspSearchResult *ide_lsp_search_result_new (const gchar *title,
const gchar *subtitle,
IdeLocation *location,
diff --git a/src/libide/lsp/ide-lsp-service.h b/src/libide/lsp/ide-lsp-service.h
index 54349ce39..631c1d42b 100644
--- a/src/libide/lsp/ide-lsp-service.h
+++ b/src/libide/lsp/ide-lsp-service.h
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_SERVICE (ide_lsp_service_get_type())
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspService, ide_lsp_service, IDE, LSP_SERVICE, IdeObject)
struct _IdeLspServiceClass
@@ -52,27 +52,27 @@ struct _IdeLspServiceClass
IdeLspClient *client);
};
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
void ide_lsp_service_class_bind_client (IdeLspServiceClass *klass,
IdeObject *provider);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
void ide_lsp_service_class_bind_client_lazy (IdeLspServiceClass *klass,
IdeObject *provider);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
void ide_lsp_service_set_inherit_stderr (IdeLspService *self,
gboolean inherit_stderr);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
gboolean ide_lsp_service_get_inherit_stderr (IdeLspService *self);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
void ide_lsp_service_restart (IdeLspService *self);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
const char *ide_lsp_service_get_program (IdeLspService *self);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
void ide_lsp_service_set_program (IdeLspService *self,
const char *program);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
const char * const *ide_lsp_service_get_search_path (IdeLspService *self);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
void ide_lsp_service_set_search_path (IdeLspService *self,
const char * const *search_path);
diff --git a/src/libide/lsp/ide-lsp-symbol-node.h b/src/libide/lsp/ide-lsp-symbol-node.h
index e2a57b2ff..c24dbd387 100644
--- a/src/libide/lsp/ide-lsp-symbol-node.h
+++ b/src/libide/lsp/ide-lsp-symbol-node.h
@@ -30,12 +30,12 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_SYMBOL_NODE (ide_lsp_symbol_node_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (IdeLspSymbolNode, ide_lsp_symbol_node, IDE, LSP_SYMBOL_NODE, IdeSymbolNode)
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
const gchar *ide_lsp_symbol_node_get_parent_name (IdeLspSymbolNode *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
gboolean ide_lsp_symbol_node_is_parent_of (IdeLspSymbolNode *self,
IdeLspSymbolNode *other);
diff --git a/src/libide/lsp/ide-lsp-symbol-resolver.h b/src/libide/lsp/ide-lsp-symbol-resolver.h
index b7bd6c82c..a4e9bf77c 100644
--- a/src/libide/lsp/ide-lsp-symbol-resolver.h
+++ b/src/libide/lsp/ide-lsp-symbol-resolver.h
@@ -32,7 +32,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_SYMBOL_RESOLVER (ide_lsp_symbol_resolver_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (IdeLspSymbolResolver, ide_lsp_symbol_resolver, IDE, LSP_SYMBOL_RESOLVER, IdeObject)
struct _IdeLspSymbolResolverClass
@@ -43,9 +43,9 @@ struct _IdeLspSymbolResolverClass
gpointer _reserved[16];
};
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeLspClient *ide_lsp_symbol_resolver_get_client (IdeLspSymbolResolver *self);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
void ide_lsp_symbol_resolver_set_client (IdeLspSymbolResolver *self,
IdeLspClient *client);
diff --git a/src/libide/lsp/ide-lsp-symbol-tree.h b/src/libide/lsp/ide-lsp-symbol-tree.h
index 2b12c3d02..4c48a4d6f 100644
--- a/src/libide/lsp/ide-lsp-symbol-tree.h
+++ b/src/libide/lsp/ide-lsp-symbol-tree.h
@@ -30,7 +30,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_SYMBOL_TREE (ide_lsp_symbol_tree_get_type())
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (IdeLspSymbolTree, ide_lsp_symbol_tree, IDE, LSP_SYMBOL_TREE, GObject)
G_END_DECLS
diff --git a/src/libide/lsp/ide-lsp-util.c b/src/libide/lsp/ide-lsp-util.c
index 4fdb55e7d..1e3425587 100644
--- a/src/libide/lsp/ide-lsp-util.c
+++ b/src/libide/lsp/ide-lsp-util.c
@@ -104,8 +104,6 @@ ide_lsp_decode_completion_kind (guint kind)
* Attempt to parse an encoded LSP text edit into an #IdeTextEdit.
*
* Returns: (transfer full) (nullable): an #IdeTextEdit
- *
- * Since: 41
* See_also:
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textEdit
*/
IdeTextEdit *
diff --git a/src/libide/lsp/ide-lsp-util.h b/src/libide/lsp/ide-lsp-util.h
index 09fda8d17..4ee4590e8 100644
--- a/src/libide/lsp/ide-lsp-util.h
+++ b/src/libide/lsp/ide-lsp-util.h
@@ -28,11 +28,11 @@
G_BEGIN_DECLS
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeSymbolKind ide_lsp_decode_symbol_kind (guint kind);
-IDE_AVAILABLE_IN_3_32
+IDE_AVAILABLE_IN_ALL
IdeSymbolKind ide_lsp_decode_completion_kind (guint kind);
-IDE_AVAILABLE_IN_41
+IDE_AVAILABLE_IN_ALL
IdeTextEdit *ide_lsp_decode_text_edit (GVariant *text_edit,
GFile *gfile);
diff --git a/src/libide/lsp/ide-lsp-workspace-edit.h b/src/libide/lsp/ide-lsp-workspace-edit.h
index 370de42dd..8acdfcc82 100644
--- a/src/libide/lsp/ide-lsp-workspace-edit.h
+++ b/src/libide/lsp/ide-lsp-workspace-edit.h
@@ -30,13 +30,13 @@ G_BEGIN_DECLS
#define IDE_TYPE_LSP_WORKSPACE_EDIT (ide_lsp_workspace_edit_get_type())
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE(IdeLspWorkspaceEdit, ide_lsp_workspace_edit, IDE, LSP_WORKSPACE_EDIT, GObject)
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
IdeLspWorkspaceEdit *ide_lsp_workspace_edit_new (GVariant * variant);
-IDE_AVAILABLE_IN_42
+IDE_AVAILABLE_IN_ALL
GPtrArray* ide_lsp_workspace_edit_get_edits(IdeLspWorkspaceEdit *self);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]