Author: rolf
Date: 2007-12-26 07:46:08 -0500 (Wed, 26 Dec 2007)
New Revision: 91891

Removed:
   
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBGtkSharpProject.xpt.xml
Modified:
   trunk/monodevelop/main/src/addins/VBNetBinding/ChangeLog
   trunk/monodevelop/main/src/addins/VBNetBinding/Makefile.am
   trunk/monodevelop/main/src/addins/VBNetBinding/VBLanguageBinding.cs
   trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.addin.xml
Log:
* VBNetBinding.addin.xml: Remove Gtk# 1.0 template. Add the
  RuntimeOptionsPanel so that projects can change their clr version.
* templates/VBGtkSharpProject.xpt.xml, Makefile.am: Remove Gtk# 1.0
  template.
* VBLanguageBinding.cs: Add support for 2.0 clr versions.

Modified: trunk/monodevelop/main/src/addins/VBNetBinding/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/addins/VBNetBinding/ChangeLog    2007-12-26 
10:12:29 UTC (rev 91890)
+++ trunk/monodevelop/main/src/addins/VBNetBinding/ChangeLog    2007-12-26 
12:46:08 UTC (rev 91891)
@@ -1,3 +1,11 @@
+2007-12-26  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * VBNetBinding.addin.xml: Remove Gtk# 1.0 template. Add the
+         RuntimeOptionsPanel so that projects can change their clr version.
+       * templates/VBGtkSharpProject.xpt.xml, Makefile.am: Remove Gtk# 1.0
+         template.
+       * VBLanguageBinding.cs: Add support for 2.0 clr versions.
+
 2007-12-13  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * Gui/CodeGenerationPanel.cs: Fix warning.

Modified: trunk/monodevelop/main/src/addins/VBNetBinding/Makefile.am
===================================================================
--- trunk/monodevelop/main/src/addins/VBNetBinding/Makefile.am  2007-12-26 
10:12:29 UTC (rev 91890)
+++ trunk/monodevelop/main/src/addins/VBNetBinding/Makefile.am  2007-12-26 
12:46:08 UTC (rev 91891)
@@ -6,12 +6,12 @@
        $(GLADE_SHARP_LIBS) \
        $(GTK_SHARP_LIBS) \
        $(MONO_ADDINS_LIBS) \
-       -r:$(top_builddir)/build/bin/MonoDevelop.Components.dll \
-       -r:$(top_builddir)/build/bin/MonoDevelop.Core.dll \
-       -r:$(top_builddir)/build/bin/MonoDevelop.Core.Gui.dll \
-       -r:$(top_builddir)/build/bin/MonoDevelop.Ide.dll \
-       -r:$(top_builddir)/build/bin/MonoDevelop.Projects.dll \
-       -r:$(top_builddir)/build/bin/NRefactory.dll \
+       -r:$(top_srcdir)/build/bin/MonoDevelop.Components.dll \
+       -r:$(top_srcdir)/build/bin/MonoDevelop.Core.dll \
+       -r:$(top_srcdir)/build/bin/MonoDevelop.Core.Gui.dll \
+       -r:$(top_srcdir)/build/bin/MonoDevelop.Ide.dll \
+       -r:$(top_srcdir)/build/bin/MonoDevelop.Projects.dll \
+       -r:$(top_srcdir)/build/bin/NRefactory.dll \
        -r:System \
        -r:System.Drawing \
        -r:System.Xml
@@ -40,7 +40,6 @@
        templates/EmptyVBProject.xpt.xml \
        templates/VBConsoleApplicationProject.xpt.xml \
        templates/VBGtkSharp2Project.xpt.xml \
-       templates/VBGtkSharpProject.xpt.xml \
        VB.glade \
        VBNetBinding.addin.xml
 

Modified: trunk/monodevelop/main/src/addins/VBNetBinding/VBLanguageBinding.cs
===================================================================
--- trunk/monodevelop/main/src/addins/VBNetBinding/VBLanguageBinding.cs 
2007-12-26 10:12:29 UTC (rev 91890)
+++ trunk/monodevelop/main/src/addins/VBNetBinding/VBLanguageBinding.cs 
2007-12-26 12:46:08 UTC (rev 91891)
@@ -92,7 +92,7 @@
                
                public ClrVersion[] GetSupportedClrVersions ()
                {
-                       return new ClrVersion[] { ClrVersion.Net_1_1 };
+                       return new ClrVersion[] { ClrVersion.Net_1_1, 
ClrVersion.Net_2_0 };
                }
        }
 }

Modified: trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.addin.xml
===================================================================
--- trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.addin.xml       
2007-12-26 10:12:29 UTC (rev 91890)
+++ trunk/monodevelop/main/src/addins/VBNetBinding/VBNetBinding.addin.xml       
2007-12-26 12:46:08 UTC (rev 91891)
@@ -30,7 +30,6 @@
   <Extension path = "/MonoDevelop/Ide/ProjectTemplates">
     <ProjectTemplate id = "EmptyVBProject" resource = 
"EmptyVBProject.xpt.xml"/>
     <ProjectTemplate id = "VBConsoleApplicationProject" resource = 
"VBConsoleApplicationProject.xpt.xml"/>
-    <ProjectTemplate id = "VBGtkSharpProject" resource = 
"VBGtkSharpProject.xpt.xml"/>
     <ProjectTemplate id = "VBGtkSharp2Project" resource = 
"VBGtkSharp2Project.xpt.xml"/>
   </Extension>
   
@@ -49,6 +48,13 @@
                    class = 
"MonoDevelop.Projects.Gui.Dialogs.OptionPanels.OutputOptionsPanel"/>
     </Condition>
   </Extension>
+       <Extension path = 
"/MonoDevelop/ProjectModel/Gui/ProjectOptions/GeneralOptions/Common">
+               <Condition id="activelanguage" value="VBNet">
+                               <DialogPanel id = "RuntimeOptionsPanel"
+                                            _label = "Runtime Options"
+                                            class = 
"MonoDevelop.Projects.Gui.Dialogs.OptionPanels.RuntimeOptionsPanel"/>
+               </Condition>
+       </Extension>
 
   <!-- <Extension path = 
"/MonoDevelop/ProjectModel/Gui/ProjectOptions/ConfigurationOptions">
     <Condition id="activelanguage" value = "VBNet">

Deleted: 
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBGtkSharpProject.xpt.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBGtkSharpProject.xpt.xml
  2007-12-26 10:12:29 UTC (rev 91890)
+++ 
trunk/monodevelop/main/src/addins/VBNetBinding/templates/VBGtkSharpProject.xpt.xml
  2007-12-26 12:46:08 UTC (rev 91891)
@@ -1,108 +0,0 @@
-<?xml version="1.0"?>
-<Template originator   = "Ben Motmans" 
-          created      = "02/16/2005"
-          lastModified = "02/16/2005">
-       
-       <!-- Template Header -->
-       <TemplateConfiguration>
-               <_Name>Gtk# Project</_Name>
-               <Category>VBNet</Category>
-               <Icon>md-project-gui|res:vb-icon-32.png</Icon>
-               <LanguageName>VBNet</LanguageName>
-               <_Description>Creates a VB.NET Gtk# project.</_Description>
-       </TemplateConfiguration>
-
-       <!-- Actions -->
-       <Actions>
-               <Open filename = "Main.vb"/>
-       </Actions>
-       
-       <!-- Template Content -->
-       <Combine name = "${ProjectName}" directory = ".">
-               <Options>
-                       <StartupProject>${ProjectName}</StartupProject>
-               </Options>
-               
-               <Project name = "${ProjectName}" directory = ".">
-                       <Options/>
-                       
-                       <References>
-                               <Reference type="Gac" refto="gtk-sharp, 
Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
-                               <Reference type="Gac" refto="gdk-sharp, 
Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
-                               <Reference type="Gac" refto="glib-sharp, 
Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
-                               <Reference type="Gac" refto="glade-sharp, 
Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
-                               <Reference type="Gac" refto="pango-sharp, 
Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
-                       </References>
-               
-                       <Files>
-                               <File name="Main.vb"><![CDATA[' project created 
on ${Date} at ${Time}
-Imports System
-Imports Gtk
-
-Public Class MainClass
-
-       Public Shared Sub Main ()
-               Application.Init ()
-               Dim win as new MyWindow ()
-               win.Show ()
-               Application.Run ()
-       End Sub
-       
-End Class]]></File>
-                       <File name="MyWindow.vb"><![CDATA[Imports System
-Imports Gtk
-
-Public Class MyWindow
-       Inherits Window
-       
-       Public Sub New ()
-                MyBase.New("MyWindow")
-                
-                Me.SetDefaultSize (400, 300)
-                AddHandler MyBase.DeleteEvent, AddressOf OnMyWindowDelete
-                Me.ShowAll ()
-       End Sub
-       
-       Private Sub OnMyWindowDelete (ByVal sender As Object, ByVal a As 
DeleteEventArgs)
-               Application.Quit ()
-               a.RetVal = true
-       End Sub
-       
-End Class]]></File>
-                       <File name="AssemblyInfo.vb"><![CDATA[Imports 
System.Reflection
-Imports System.Runtime.InteropServices
-
-' Information about this assembly is defined by the following
-' attributes.
-'
-' change them to the information which is associated with the assembly
-' you compile.
-
-<Assembly: AssemblyTitle("")>
-<Assembly: AssemblyDescription("")>
-<Assembly: AssemblyConfiguration("")>
-<Assembly: AssemblyCompany("")>
-<Assembly: AssemblyProduct("")>
-<Assembly: AssemblyCopyright("")>
-<Assembly: AssemblyTrademark("")>
-<Assembly: AssemblyCulture("")>
-
-' The assembly version has following format :
-'
-' Major.Minor.Build.Revision
-'
-' You can specify all values by your own or you can build default build and 
revision
-' numbers with the '*' character (the default):
-
-<Assembly: AssemblyVersion("1.0.*")> 
-
-' The following attributes specify the key for the sign of your assembly. See 
the
-' .NET Framework documentation for more information about signing.
-' This is not required, if you don't want signing let these attributes like 
they're.
-<Assembly: AssemblyDelaySign(false)>
-<Assembly: AssemblyKeyFile("")>
-]]></File>
-                       </Files>
-               </Project>
-       </Combine>
-</Template>

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to