[Monodevelop-patches-list] r2030 - in trunk/MonoDevelop/Core/build/AddIns: . AddIns/BackendBindings AddIns/BackendBindings/templates

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Fri Nov 19 18:15:59 EST 2004


Author: pawel
Date: 2004-11-19 18:15:58 -0500 (Fri, 19 Nov 2004)
New Revision: 2030

Added:
   trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGnomeSharpProject.xpt.xml
Modified:
   trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/NemerleBinding.addin.xml
   trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/Makefile.am
   trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpProject.xpt.xml
   trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpWindow.xft.xml
   trunk/MonoDevelop/Core/build/AddIns/ChangeLog
Log:
Add new Nemerle template, small fixes for others.


Modified: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/NemerleBinding.addin.xml
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/NemerleBinding.addin.xml	2004-11-16 23:40:48 UTC (rev 2029)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/NemerleBinding.addin.xml	2004-11-19 23:15:58 UTC (rev 2030)
@@ -28,6 +28,8 @@
                      location = "templates/NemerleEmptyProject.xpt.xml"/>
     <ProjectTemplate id = "NemerleGtkSharpProject"
                      location = "templates/NemerleGtkSharpProject.xpt.xml"/>
+    <ProjectTemplate id = "NemerleGnomeSharpProject"
+                     location = "templates/NemerleGnomeSharpProject.xpt.xml"/>
   </Extension>
 
   <Extension path = "/SharpDevelop/Workbench/ProjectOptions/ConfigurationProperties">

Modified: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/Makefile.am
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/Makefile.am	2004-11-16 23:40:48 UTC (rev 2029)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/Makefile.am	2004-11-19 23:15:58 UTC (rev 2030)
@@ -34,6 +34,7 @@
 JavaConsoleApplicationProject.xpt.xml \
 Library.xpt.xml \
 NemerleEmptyProject.xpt.xml \
+NemerleGnomeSharpProject.xpt.xml \
 NemerleGtkSharpProject.xpt.xml \
 NemerleGtkSharpWindow.xft.xml \
 AppConfigFile.xft.xml \

Added: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGnomeSharpProject.xpt.xml
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGnomeSharpProject.xpt.xml	2004-11-16 23:40:48 UTC (rev 2029)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGnomeSharpProject.xpt.xml	2004-11-19 23:15:58 UTC (rev 2030)
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<Template originator   = "John Luke"
+          created      = "01/03/2004"
+          lastModified = "03/08/2004">
+	
+	<!-- Template Header -->
+	<TemplateConfiguration>
+		<_Name>Gnome# Project</_Name>
+		<Category>Nemerle</Category>
+		<Icon>Nemerle.Project.Form</Icon>
+		<LanguageName>Nemerle</LanguageName>
+		<_Description>Creates a Nemerle/Gnome# project</_Description>
+	</TemplateConfiguration>
+	
+	<!-- Actions -->
+	<Actions>
+		<Open filename = "Main.n"/>
+	</Actions>
+	
+	<!-- Template Content -->
+	<Combine name = "${ProjectName}" directory = ".">
+		<Options>
+			<StartupProject>${ProjectName}</StartupProject>
+		</Options>
+		
+		<Project name = "${ProjectName}" directory = ".">
+			<Options/>
+			
+			<References>
+				<Reference type="Gac" refto="gnome-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+			</References>
+
+			<Files>
+				<File name="Main.n"><![CDATA[// project created on ${Date} at ${Time}
+using System;
+
+public class MainClass
+{
+	public static Main (args : array[string]) : void
+	{
+		_ = MyProgram (args);
+	}
+}]]></File>
+			<File name="MyProgram.n"><![CDATA[using System;
+using Gtk;
+using Gnome;
+
+public class MyProgram
+{
+	public this (args : array[string])
+	{
+		def program = Program ("MyProgram", "0.0", Modules.UI, args);
+		def app = App ("MyProgram", "MyWindow");
+		app.SetDefaultSize (400, 300);
+		app.DeleteEvent += (fun (_) { Application.Quit ();} );
+		app.ShowAll ();
+		program.Run ();
+	}
+}]]></File>
+			<File name="AssemblyInfo.n"><![CDATA[using System.Reflection;
+using System.Runtime.CompilerServices;
+
+// 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>

Modified: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpProject.xpt.xml
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpProject.xpt.xml	2004-11-16 23:40:48 UTC (rev 2029)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpProject.xpt.xml	2004-11-19 23:15:58 UTC (rev 2030)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <Template originator   = "Pawel Rozanski"
           created      = "07/08/2004"
-          lastModified = "07/08/2004">
+          lastModified = "11/20/2004">
 
 	<!-- Template Header -->
 	<TemplateConfiguration>
@@ -35,7 +35,7 @@
 	public Main() : void
 	{
 		Application.Init();
-		def _ = MyWindow();
+		_ = MyWindow();
 		Application.Run();
 	}
 }]]></File>
@@ -52,6 +52,39 @@
 		ShowAll();
 	}
 }]]></File>
+				<File name="AssemblyInfo.n"><![CDATA[using System.Reflection;
+using System.Runtime.CompilerServices;
+
+// 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>

Modified: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpWindow.xft.xml
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpWindow.xft.xml	2004-11-16 23:40:48 UTC (rev 2029)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpWindow.xft.xml	2004-11-19 23:15:58 UTC (rev 2030)
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <Template Originator   = "Pawel Rozanski"
-	  Language     = "Nemerle"
+          Language     = "Nemerle"
           Created      = "07/08/2004"
           LastModified = "07/08/2004">
 	  

Modified: trunk/MonoDevelop/Core/build/AddIns/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/ChangeLog	2004-11-16 23:40:48 UTC (rev 2029)
+++ trunk/MonoDevelop/Core/build/AddIns/ChangeLog	2004-11-19 23:15:58 UTC (rev 2030)
@@ -1,3 +1,14 @@
+2004-11-20  Pawel Rozanski  <tokugawa at nemerle.org>
+
+	* AddIns/BackendBindings/NemerleBinding.addin.xml:
+	* AddIns/BackendBindings/templates/NemerleGtkSharpWindow.xft.xml:
+	* AddIns/BackendBindings/templates/NemerleGtkSharpProject.xpt.xml:
+	add AssemblyInfo.n to template.
+
+	* AddIns/BackendBindings/templates/Makefile.am:
+	* AddIns/BackendBindings/templates/NemerleGnomeSharpProject.xpt.xml:
+	add new template for nemerle.
+
 2004-07-08  Pawel Rozanski  <tokugawa at afn.no-ip.org>
 
 	* AddIns/BackendBindings/templates/EmptyNemerleFile.xft.xml:




More information about the Monodevelop-patches-list mailing list