mail-archives/monodevelop-patches-list/2004-May/001245.html

183 строки
7.4 KiB
HTML
Исходник Обычный вид История

2019-06-06 22:06:15 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Monodevelop-patches-list] r1638 - in trunk/MonoDevelop: build/AddIns src/Main/Base src/Main/Base/Services/Project
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1638%20-%20in%20trunk/MonoDevelop%3A%20build/AddIns%20src/Main/Base%20src/Main/Base/Services/Project&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="001244.html">
<LINK REL="Next" HREF="001246.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Monodevelop-patches-list] r1638 - in trunk/MonoDevelop: build/AddIns src/Main/Base src/Main/Base/Services/Project</H1>
<B>commit-watcher at mono-cvs.ximian.com</B>
<A HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1638%20-%20in%20trunk/MonoDevelop%3A%20build/AddIns%20src/Main/Base%20src/Main/Base/Services/Project&In-Reply-To="
TITLE="[Monodevelop-patches-list] r1638 - in trunk/MonoDevelop: build/AddIns src/Main/Base src/Main/Base/Services/Project">commit-watcher at mono-cvs.ximian.com
</A><BR>
<I>Wed May 26 02:55:35 EDT 2004</I>
<P><UL>
<LI>Previous message: <A HREF="001244.html">[Monodevelop-patches-list] r1637 - trunk/md-website
</A></li>
<LI>Next message: <A HREF="001246.html">[Monodevelop-patches-list] r1639 - in trunk/MonoDevelop/src/Main/Base: . Internal/Project/Project
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1245">[ date ]</a>
<a href="thread.html#1245">[ thread ]</a>
<a href="subject.html#1245">[ subject ]</a>
<a href="author.html#1245">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Author: tberman
Date: 2004-05-26 02:55:35 -0400 (Wed, 26 May 2004)
New Revision: 1638
Modified:
trunk/MonoDevelop/build/AddIns/SharpDevelopCore.addin.xml
trunk/MonoDevelop/src/Main/Base/ChangeLog
trunk/MonoDevelop/src/Main/Base/Services/Project/DefaultProjectService.cs
Log:
remove generate makefiles, and autogenerate on appropriate project changes. We are most likely a bit generate happy, but its a good idea to write it too many times instead of missing something.
Modified: trunk/MonoDevelop/build/AddIns/SharpDevelopCore.addin.xml
===================================================================
--- trunk/MonoDevelop/build/AddIns/SharpDevelopCore.addin.xml 2004-05-26 05:28:21 UTC (rev 1637)
+++ trunk/MonoDevelop/build/AddIns/SharpDevelopCore.addin.xml 2004-05-26 06:55:35 UTC (rev 1638)
@@ -802,9 +802,9 @@
description = &quot;${res:XML.MainMenu.RunMenu.Run.Description}&quot;
shortcut = &quot;F5&quot;
class = &quot;MonoDevelop.Commands.RunCommand&quot;/&gt;
- &lt;MenuItem id = &quot;GenerateMakefiles&quot;
+ &lt;!-- &lt;MenuItem id = &quot;GenerateMakefiles&quot;
_label = &quot;Generate Makefiles&quot;
- class = &quot;MonoDevelop.Commands.GenerateMakefiles&quot;/&gt;
+ class = &quot;MonoDevelop.Commands.GenerateMakefiles&quot;/&gt;--&gt;
&lt;/Conditional&gt;
&lt;/MenuItem&gt;
Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-05-26 05:28:21 UTC (rev 1637)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-05-26 06:55:35 UTC (rev 1638)
@@ -1,5 +1,10 @@
2004-05-26 Todd Berman &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">tberman at sevenl.net</A>&gt;
+ * Services/Project/DefaultProjectService.cs: auto-generate makefiles
+ on changes. I think i hit all the needed events, lets see.
+
+2004-05-26 Todd Berman &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">tberman at sevenl.net</A>&gt;
+
* Services/ParserService/DefaultParserService.cs: Update Monodoc
and IsAs resolvers.
* Services/ParserService/IParserService.cs: Expose new search type
Modified: trunk/MonoDevelop/src/Main/Base/Services/Project/DefaultProjectService.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Services/Project/DefaultProjectService.cs 2004-05-26 05:28:21 UTC (rev 1637)
+++ trunk/MonoDevelop/src/Main/Base/Services/Project/DefaultProjectService.cs 2004-05-26 06:55:35 UTC (rev 1638)
@@ -108,8 +108,7 @@
{
if (CurrentOpenCombine != null) {
if (saveCombinePreferencies)
- SaveCombinePreferences(CurrentOpenCombine, openCombineFileName);
-
+ SaveCombinePreferences(CurrentOpenCombine, openCombineFileName);
Combine closedCombine = CurrentOpenCombine;
CurrentSelectedProject = null;
CurrentOpenCombine = CurrentSelectedCombine = null;
@@ -590,6 +589,7 @@
//********* own events
protected virtual void OnCombineOpened(CombineEventArgs e)
{
+ GenerateMakefiles ();
if (CombineOpened != null) {
CombineOpened(this, e);
}
@@ -597,6 +597,7 @@
protected virtual void OnCombineClosed(CombineEventArgs e)
{
+ GenerateMakefiles ();
if (CombineClosed != null) {
CombineClosed(this, e);
}
@@ -622,6 +623,7 @@
public virtual void OnRenameProject(ProjectRenameEventArgs e)
{
+ GenerateMakefiles ();
if (ProjectRenamed != null) {
ProjectRenamed(this, e);
}
@@ -702,6 +704,7 @@
protected virtual void OnFileRemovedFromProject (ProjectFileEventArgs e)
{
+ GenerateMakefiles ();
if (FileRemovedFromProject != null) {
FileRemovedFromProject(this, e);
}
@@ -709,6 +712,7 @@
protected virtual void OnFileAddedToProject (ProjectFileEventArgs e)
{
+ GenerateMakefiles ();
if (FileAddedToProject != null) {
FileAddedToProject (this, e);
}
@@ -716,6 +720,7 @@
protected virtual void OnReferenceRemovedFromProject (ProjectReferenceEventArgs e)
{
+ GenerateMakefiles ();
if (ReferenceRemovedFromProject != null) {
ReferenceRemovedFromProject (this, e);
}
@@ -723,6 +728,7 @@
protected virtual void OnReferenceAddedToProject (ProjectReferenceEventArgs e)
{
+ GenerateMakefiles ();
if (ReferenceAddedToProject != null) {
ReferenceAddedToProject (this, e);
}
@@ -766,7 +772,8 @@
public void GenerateMakefiles ()
{
- openCombine.GenerateMakefiles ();
+ if (openCombine != null)
+ openCombine.GenerateMakefiles ();
}
public event ProjectFileEventHandler FileRemovedFromProject;
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="001244.html">[Monodevelop-patches-list] r1637 - trunk/md-website
</A></li>
<LI>Next message: <A HREF="001246.html">[Monodevelop-patches-list] r1639 - in trunk/MonoDevelop/src/Main/Base: . Internal/Project/Project
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1245">[ date ]</a>
<a href="thread.html#1245">[ thread ]</a>
<a href="subject.html#1245">[ subject ]</a>
<a href="author.html#1245">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">More information about the Monodevelop-patches-list
mailing list</a><br>
</body></html>