[Monodevelop-patches-list] r1910 - in trunk/MonoDevelop/Core: . build/AddIns build/AddIns/AddIns/BackendBindings build/AddIns/AddIns/BackendBindings/templates build/data/resources/icons

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Wed Jul 7 18:53:26 EDT 2004


Author: pawel
Date: 2004-07-07 18:53:26 -0400 (Wed, 07 Jul 2004)
New Revision: 1910

Added:
   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/data/resources/icons/Nemerle.File.Form
   trunk/MonoDevelop/Core/build/data/resources/icons/Nemerle.Project.Form
Modified:
   trunk/MonoDevelop/Core/ChangeLog
   trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/NemerleBinding.addin.xml
   trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/EmptyNemerleFile.xft.xml
   trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/Makefile.am
   trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleEmptyProject.xpt.xml
   trunk/MonoDevelop/Core/build/AddIns/ChangeLog
   trunk/MonoDevelop/Core/build/data/resources/icons/Makefile.am
Log:
Add Nemerle/Gtk# templates with icons.


Modified: trunk/MonoDevelop/Core/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/ChangeLog	2004-07-06 21:31:10 UTC (rev 1909)
+++ trunk/MonoDevelop/Core/ChangeLog	2004-07-07 22:53:26 UTC (rev 1910)
@@ -1,3 +1,10 @@
+2004-07-08  Pawel Rozanski  <tokugawa at afn.no-ip.org>
+
+	* build/data/resources/icons/Nemerle.File.Form
+	* build/data/resources/icons/Nemerle.Project.Form
+	* build/data/resources/icons/Makefile.am:
+	add Form icons for Nemerle.
+
 2004-07-05  Todd Berman  <tberman at off.net>
 
 	* configure.in:

Modified: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/NemerleBinding.addin.xml
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/NemerleBinding.addin.xml	2004-07-06 21:31:10 UTC (rev 1909)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/NemerleBinding.addin.xml	2004-07-07 22:53:26 UTC (rev 1910)
@@ -19,11 +19,15 @@
   <Extension path = "/MonoDevelop/FileTemplates">
     <FileTemplate id = "EmptyNemerleFile"
                   location = "templates/EmptyNemerleFile.xft.xml"/>
+    <FileTemplate id = "NemerleGtkSharpWindow"
+                  location = "templates/NemerleGtkSharpWindow.xft.xml"/>
   </Extension>
 
   <Extension path = "/MonoDevelop/ProjectTemplates">
     <ProjectTemplate id = "EmptyNemerleProject"
                      location = "templates/NemerleEmptyProject.xpt.xml"/>
+    <ProjectTemplate id = "NemerleGtkSharpProject"
+                     location = "templates/NemerleGtkSharpProject.xpt.xml"/>
   </Extension>
 
   <Extension path = "/SharpDevelop/Workbench/ProjectOptions/ConfigurationProperties">

Modified: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/EmptyNemerleFile.xft.xml
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/EmptyNemerleFile.xft.xml	2004-07-06 21:31:10 UTC (rev 1909)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/EmptyNemerleFile.xft.xml	2004-07-07 22:53:26 UTC (rev 1910)
@@ -5,11 +5,11 @@
           LastModified = "05/04/2004">
 	  
 	<TemplateConfiguration>
-		<_Name>Empty Nemerle file</_Name>
+		<_Name>Empty file</_Name>
 		<Icon>Nemerle.File.EmptyFile</Icon>
 		<Category>Nemerle</Category>
 		<LanguageName>Nemerle</LanguageName>
-		<_Description>Empty Nemerle file</_Description>
+		<_Description>Creates an empty Nemerle file</_Description>
 	</TemplateConfiguration>
 	
 	<TemplateFiles>

Modified: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/Makefile.am
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/Makefile.am	2004-07-06 21:31:10 UTC (rev 1909)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/Makefile.am	2004-07-07 22:53:26 UTC (rev 1910)
@@ -33,6 +33,7 @@
 JavaApplicationProject.xpt.xml \
 JavaConsoleApplicationProject.xpt.xml \
 Library.xpt.xml \
-NemerleEmptyProject.xpt.xml
+NemerleEmptyProject.xpt.xml \
+NemerleGtkSharpProject.xpt.xml
 
 EXTRA_DIST = $(template_DATA)

Modified: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleEmptyProject.xpt.xml
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleEmptyProject.xpt.xml	2004-07-06 21:31:10 UTC (rev 1909)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleEmptyProject.xpt.xml	2004-07-07 22:53:26 UTC (rev 1910)
@@ -5,11 +5,11 @@
 
 	<!-- Template Header -->
 	<TemplateConfiguration>
-		<_Name>Empty Nemerle project</_Name>
+		<_Name>Empty Project</_Name>
 		<Category>Nemerle</Category>
 		<Icon>Nemerle.Project.EmptyProject</Icon>
 		<LanguageName>Nemerle</LanguageName>
-		<_Description>Empty Nemerle project</_Description>
+		<_Description>Creates an empty Nemerle project</_Description>
 	</TemplateConfiguration>
 	
 	<Combine name = "${ProjectName}" directory = ".">

Added: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpProject.xpt.xml
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpProject.xpt.xml	2004-07-06 21:31:10 UTC (rev 1909)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpProject.xpt.xml	2004-07-07 22:53:26 UTC (rev 1910)
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<Template originator   = "Pawel Rozanski"
+          created      = "07/08/2004"
+          lastModified = "07/08/2004">
+
+	<!-- Template Header -->
+	<TemplateConfiguration>
+		<_Name>Gtk# Project</_Name>
+		<Category>Nemerle</Category>
+		<Icon>Nemerle.Project.Form</Icon>
+		<LanguageName>Nemerle</LanguageName>
+		<_Description>Creates a Nemerle/Gtk# project</_Description>
+	</TemplateConfiguration>
+	
+	<Actions>
+		<Open filename = "Main.n"/>
+	</Actions>	
+	
+	<Combine name = "${ProjectName}" directory = ".">
+		<Options>
+			<StartupProject>${ProjectName}</StartupProject>
+		</Options>
+		
+		<Project name = "${ProjectName}" directory = ".">
+			<References>
+				<Reference type="Gac" refto="gtk-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;
+using Gtk;
+
+module Main
+{
+	public Main() : void
+	{
+		Application.Init();
+		def _ = MyWindow();
+		Application.Run();
+	}
+}]]></File>
+				<File name="MyWindow.n"><![CDATA[using System;
+using Gtk;
+
+public class MyWindow : Window
+{
+	public this() 
+	{
+		base("MyWindow");
+		SetDefaultSize(400, 300);
+		this.DeleteEvent += (fun (_) { Application.Quit ();} );
+		ShowAll();
+	}
+}]]></File>
+			</Files>
+
+		</Project>
+	</Combine>
+</Template>

Added: trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpWindow.xft.xml
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpWindow.xft.xml	2004-07-06 21:31:10 UTC (rev 1909)
+++ trunk/MonoDevelop/Core/build/AddIns/AddIns/BackendBindings/templates/NemerleGtkSharpWindow.xft.xml	2004-07-07 22:53:26 UTC (rev 1910)
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<Template Originator   = "Pawel Rozanski"
+	  Language     = "Nemerle"
+          Created      = "07/08/2004"
+          LastModified = "07/08/2004">
+	  
+	<TemplateConfiguration>
+		<_Name>Gtk# Window</_Name>
+		<Icon>Nemerle.File.Form</Icon>
+		<Category>Nemerle</Category>
+		<LanguageName>Nemerle</LanguageName>
+		<_Description>Creates a top-level Gtk# window</_Description>
+	</TemplateConfiguration>
+	
+	<TemplateFiles>
+		<File DefaultExtension=".n" DefaultName="MyWindow">
+<![CDATA[// created on ${Date} at ${Time}
+using System;
+using Gtk;
+
+public class CreatedWindow : Window
+{
+	public this()
+	{
+		base ("MyWindow");
+	}
+}
+]]></File>
+	</TemplateFiles>
+	
+	<FileOptions/>
+	
+</Template>

Modified: trunk/MonoDevelop/Core/build/AddIns/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/build/AddIns/ChangeLog	2004-07-06 21:31:10 UTC (rev 1909)
+++ trunk/MonoDevelop/Core/build/AddIns/ChangeLog	2004-07-07 22:53:26 UTC (rev 1910)
@@ -1,3 +1,15 @@
+2004-07-08  Pawel Rozanski  <tokugawa at afn.no-ip.org>
+
+	* AddIns/BackendBindings/templates/EmptyNemerleFile.xft.xml:
+	* AddIns/BackendBindings/templates/NemerleEmptyProject.xpt.xml:
+	change descriptions, looks like C# bindings now.
+
+	* AddIns/BackendBindings/NemerleBinding.addin.xml:
+	* AddIns/BackendBindings/templates/NemerleGtkSharpWindow.xft.xml:
+	* AddIns/BackendBindings/templates/NemerleGtkSharpProject.xpt.xml:
+	* AddIns/BackendBindings/templates/Makefile.am:
+	add Nemerle/Gtk# templates.	
+
 2004-04-22  Todd Berman  <tberman at sevenl.net>
 
 	* SharpDevelopCore.addin.xml: moving Tools->Options to 

Modified: trunk/MonoDevelop/Core/build/data/resources/icons/Makefile.am
===================================================================
--- trunk/MonoDevelop/Core/build/data/resources/icons/Makefile.am	2004-07-06 21:31:10 UTC (rev 1909)
+++ trunk/MonoDevelop/Core/build/data/resources/icons/Makefile.am	2004-07-07 22:53:26 UTC (rev 1910)
@@ -289,8 +289,10 @@
 JScript.Project.WebProject \
 MonoDevelop.Close.png \
 Nemerle.File.EmptyFile \
+Nemerle.File.Form \
 Nemerle.FileIcon \
 Nemerle.Project.EmptyProject \
+Nemerle.Project.Form \
 Nemerle.ProjectIcon \
 VB.File.EmptyFile \
 VB.File.Form \

Added: trunk/MonoDevelop/Core/build/data/resources/icons/Nemerle.File.Form
===================================================================
(Binary files differ)


Property changes on: trunk/MonoDevelop/Core/build/data/resources/icons/Nemerle.File.Form
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/MonoDevelop/Core/build/data/resources/icons/Nemerle.Project.Form
===================================================================
(Binary files differ)


Property changes on: trunk/MonoDevelop/Core/build/data/resources/icons/Nemerle.Project.Form
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream




More information about the Monodevelop-patches-list mailing list