[gnome-builder] vala-pack: remove legacy vala code



commit e0ce8bddbe386a32589019baadf64d24007fde6e
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jan 3 16:42:31 2020 -0800

    vala-pack: remove legacy vala code
    
    This needs to be provided by GVls now, and we are going to aggressively
    remove Vala code from Builder.

 src/plugins/vala-pack/ide-vala-client.vala         | 460 ---------------------
 src/plugins/vala-pack/ide-vala-code-indexer.vala   | 129 ------
 .../vala-pack/ide-vala-completion-item.vala        | 166 --------
 .../vala-pack/ide-vala-completion-provider.vala    | 289 -------------
 .../vala-pack/ide-vala-diagnostic-provider.vala    |  53 ---
 .../vala-pack/ide-vala-preferences-addin.vala      |  44 --
 .../vala-pack/ide-vala-symbol-resolver.vala        | 101 -----
 src/plugins/vala-pack/ide-vala-symbol-tree.vala    |  93 -----
 .../vala-pack/lang-server/gnome-builder-vala.vala  | 335 ---------------
 src/plugins/vala-pack/lang-server/ide-utils.vala   | 154 -------
 .../lang-server/ide-vala-code-context.vala         | 296 -------------
 .../vala-pack/lang-server/ide-vala-completion.vala | 187 ---------
 .../lang-server/ide-vala-diagnostics.vala          | 100 -----
 .../vala-pack/lang-server/ide-vala-index.vala      | 340 ---------------
 .../vala-pack/lang-server/ide-vala-locator.vala    | 288 -------------
 .../lang-server/ide-vala-symbol-tree.vala          | 181 --------
 src/plugins/vala-pack/lang-server/meson.build      |  56 ---
 src/plugins/vala-pack/meson.build                  |  10 -
 src/plugins/vala-pack/vala-pack-plugin.vala        |   5 -
 19 files changed, 3287 deletions(-)
---
diff --git a/src/plugins/vala-pack/meson.build b/src/plugins/vala-pack/meson.build
index 4e4585e55..fcccfbdf8 100644
--- a/src/plugins/vala-pack/meson.build
+++ b/src/plugins/vala-pack/meson.build
@@ -8,16 +8,8 @@ libvala = dependency('libvala-@0@'.format(libvala_version))
 
 vala_sources = [
   'valaconfig.vapi',
-  'ide-vala-client.vala',
-  'ide-vala-code-indexer.vala',
-  'ide-vala-completion-item.vala',
-  'ide-vala-completion-provider.vala',
-  'ide-vala-diagnostic-provider.vala',
   'ide-vala-indenter.vala',
   'ide-vala-pipeline-addin.vala',
-  'ide-vala-preferences-addin.vala',
-  'ide-vala-symbol-resolver.vala',
-  'ide-vala-symbol-tree.vala',
   'vala-pack-plugin.vala',
 ]
 
@@ -58,8 +50,6 @@ shared_module('plugin-vala-pack', vala_sources,
                        ],
 )
 
-subdir('lang-server')
-
 configure_file(
           input: 'vala-pack.plugin',
          output: 'vala-pack.plugin',
diff --git a/src/plugins/vala-pack/vala-pack-plugin.vala b/src/plugins/vala-pack/vala-pack-plugin.vala
index 79c161af0..b46da11af 100644
--- a/src/plugins/vala-pack/vala-pack-plugin.vala
+++ b/src/plugins/vala-pack/vala-pack-plugin.vala
@@ -26,10 +26,5 @@ public void peas_register_types (GLib.TypeModule module)
        Peas.ObjectModule peas = (Peas.ObjectModule)module;
 
        peas.register_extension_type (typeof (Ide.PipelineAddin), typeof (Ide.ValaPipelineAddin));
-       peas.register_extension_type (typeof (Ide.CodeIndexer), typeof (Ide.ValaCodeIndexer));
-       peas.register_extension_type (typeof (Ide.CompletionProvider), typeof (Ide.ValaCompletionProvider));
-       peas.register_extension_type (typeof (Ide.DiagnosticProvider), typeof (Ide.ValaDiagnosticProvider));
        peas.register_extension_type (typeof (Ide.Indenter), typeof (Ide.ValaIndenter));
-       peas.register_extension_type (typeof (Ide.PreferencesAddin), typeof (Ide.ValaPreferencesAddin));
-       peas.register_extension_type (typeof (Ide.SymbolResolver), typeof (Ide.ValaSymbolResolver));
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]